view sat_templates/templates/bulma/event/attendance.html @ 303:877f01720036

bulma (lists): creation, invitations, item deletion: - add interface to create lists from templates - show list specific icon when available in lists discovery - owned lists can be deleted from lists discovery - lists can now be created from templates - when edition is allowed, a delete button let now delete a list item from single item view - new button to launch invitation manager from list overview
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:39:11 +0100
parents 1928ba66c194
children
line wrap: on
line source

{% import 'input/form.html' as form with context %}
{% import 'input/field.html' as field with context %}


<div class="message">
    <div class="message-body is-info">
        {% trans %}Please indicate if you plan to attend the event:{% endtrans %}
    </div>
</div>
{% call form.form() %}
{{ field.meta("type", "attendance") }}
{{ field.meta("service", event.invitees_service) }}
{{ field.meta("node", event.invitees_node) }}
<div class="box attending">
    {{ field.choices("attend", (("yes", _("yes")), ("no", _("no")), ("maybe", _("maybe"))), checked=invitee.attend) }}
</div>
<div class="guests">
    {{ field.int("guests", label=_("How many people will come (including you)?"), init=invitee.get("guests", 1)) }}
</div>
<div class="submit mt-4">
    {{ field.submit() }}
</div>
{% endcall %}