annotate default/event/attendance.html @ 14:9a77174abc1e

style: use sat-base-font + added .box class + use media queries for responsive design
author Goffi <goffi@goffi.org>
date Thu, 04 May 2017 00:55:02 +0200
parents 6f13b25f1ecf
children 48b831ab4238
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% import 'input/form.html' as form %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'input/field.html' as field %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
4 <div class="attendance">
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <p class="poll_instructions">Please indicate if you plan to attend the event.</p>
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% call form.form() %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
7 {{ field.meta("type", "attendance") }}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
8 {{ field.meta("service", event_service) }}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
9 {{ field.meta("node", event_node) }}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10 <div class="attending">
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
11 {{ field.choices("attend", ("yes", "no", "maybe"), checked=event.attend) }}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </div>
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ field.int("guests", label="how many people will come (including you)?", init=event.get("guests", 1)) }}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {{ field.submit() }}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {% endcall %}
6f13b25f1ecf event: event page first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
16 </div>