annotate sat_templates/templates/bulma/invitation/invite_by_email.html @ 279:a35ddf972ad2

bulma (base/base.html): display backend confirmation and notifications
author Goffi <goffi@goffi.org>
date Sat, 15 Aug 2020 23:38:12 +0200
parents b6937cf854f0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
274
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% import 'input/form.html' as form with context %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'input/field.html' as field with context %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
3
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <div class="modal is-active">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <div class="modal-background"></div>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class="modal-card">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <header class="modal-card-head">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <p class="modal-card-title">{% trans %}Invite somebody by email{% endtrans %}</p>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <button class="delete click_to_close" aria-label="close"></button>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </header>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
11 <section class="modal-card-body">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% call form.form(id="email_invitation_form") %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ field.email("email", _("email"), required=true, icon_left="mail") }}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {{ field.text("name", _("name"), required=true, icon_left="person") }}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% endcall %}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </section>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <footer class="modal-card-foot">
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
18 {{
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
19 field.submit(
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
20 _("Send invitation"), id="email_invitation_submit", class="button is-success",
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
21 attr={'form': 'email_invitation_form'}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
22 )
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
23 }}
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
24 <button class="button click_to_close">{% trans %}Cancel{% endtrans %}</button>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
25 </footer>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
26 </div>
b6937cf854f0 bulma (invitation): modal to invite by email
Goffi <goffi@goffi.org>
parents:
diff changeset
27 </div>