comparison sat_templates/templates/bulma/invitation/invite_by_email.html @ 274:b6937cf854f0

bulma (invitation): modal to invite by email
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:47:06 +0200
parents
children
comparison
equal deleted inserted replaced
273:a617d37a52e5 274:b6937cf854f0
1 {% import 'input/form.html' as form with context %}
2 {% import 'input/field.html' as field with context %}
3
4 <div class="modal is-active">
5 <div class="modal-background"></div>
6 <div class="modal-card">
7 <header class="modal-card-head">
8 <p class="modal-card-title">{% trans %}Invite somebody by email{% endtrans %}</p>
9 <button class="delete click_to_close" aria-label="close"></button>
10 </header>
11 <section class="modal-card-body">
12 {% call form.form(id="email_invitation_form") %}
13 {{ field.email("email", _("email"), required=true, icon_left="mail") }}
14 {{ field.text("name", _("name"), required=true, icon_left="person") }}
15 {% endcall %}
16 </section>
17 <footer class="modal-card-foot">
18 {{
19 field.submit(
20 _("Send invitation"), id="email_invitation_submit", class="button is-success",
21 attr={'form': 'email_invitation_form'}
22 )
23 }}
24 <button class="button click_to_close">{% trans %}Cancel{% endtrans %}</button>
25 </footer>
26 </div>
27 </div>