comparison default/event/attendance.html @ 11:6f13b25f1ecf

event: event page first draft
author Goffi <goffi@goffi.org>
date Thu, 27 Apr 2017 01:08:41 +0200
parents
children 48b831ab4238
comparison
equal deleted inserted replaced
10:8b5615a1bf3d 11:6f13b25f1ecf
1 {% import 'input/form.html' as form %}
2 {% import 'input/field.html' as field %}
3
4 <div class="attendance">
5 <p class="poll_instructions">Please indicate if you plan to attend the event.</p>
6 {% call form.form() %}
7 {{ field.meta("type", "attendance") }}
8 {{ field.meta("service", event_service) }}
9 {{ field.meta("node", event_node) }}
10 <div class="attending">
11 {{ field.choices("attend", ("yes", "no", "maybe"), checked=event.attend) }}
12 </div>
13 {{ field.int("guests", label="how many people will come (including you)?", init=event.get("guests", 1)) }}
14 {{ field.submit() }}
15 {% endcall %}
16 </div>