view sat_templates/templates/bulma/event/attendance.html @ 243:2b8d18a9df00

bulma (photo/album): change for dynamic content: - added drop zone and file selector to upload photos - moved item template to its own file, so it can be used for dynamic content - added delete button - changes to manage progression bar and other stuff
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents 0e69b5843c2f
children 1928ba66c194
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 has-margin-top-1">
    {{ field.submit() }}
</div>
{% endcall %}