| 1 | {% import 'input/form.html' as form with context %} |
| 2 | {% import 'input/field.html' as field with context %} |
| 3 | {% import 'input/textbox.html' as textbox with context %} |
| 4 | {% import 'dialogs/macros.html' as dialog with context %} |
| 5 | <div class="wrapper"> |
| 6 | <div class="panel_wrapper click_to_close"> |
| 7 | <div class="invitation_manager_side_panel"> |
| 8 | <section class="section"> |
| 9 | <div class="message is-info"> |
| 10 | <div class="message-body"> |
| 11 | {% trans %}in this panel, you can manage people who can access this page, and send invitations{% endtrans %} |
| 12 | </div> |
| 13 | </div> |
| 14 | </section> |
| 15 | <section class="section"> |
| 16 | <div id="affiliations"> |
| 17 | <h4 class="title is-4">{% trans %}people who can access this page{% endtrans %}</h4> |
| 18 | </div> |
| 19 | {% call form.form(id="invitation_form", class="mt-4") %} |
| 20 | {{ textbox.head(event_service, event_node, 'event') }} |
| 21 | {{ field.meta('event_id', event_id) }} |
| 22 | {% call dialog.search_dialog(id="invitation_contact_search", class="is-block") %} |
| 23 | {{ field.text("contact", placeholder=_("name or identifier of a person to invite"), autocomplete="off", icon_left="person") }} |
| 24 | {% endcall %} |
| 25 | <button id="invite_email" class="button mt-6"> |
| 26 | <i class="icon-mail"></i> {% trans %}invite by email{% endtrans %} |
| 27 | </button> |
| 28 | {% endcall %} |
| 29 | </section> |
| 30 | </div> |
| 31 | </div> |
| 32 | </div> |