Mercurial > libervia-templates
comparison default/event/attendance.html @ 17:48b831ab4238
event: design improvment
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 04 May 2017 01:00:29 +0200 |
parents | 6f13b25f1ecf |
children | 422c54e0204a |
comparison
equal
deleted
inserted
replaced
16:8cdcbe0d7dee | 17:48b831ab4238 |
---|---|
1 {% import 'input/form.html' as form %} | 1 {% import 'input/form.html' as form %} |
2 {% import 'input/field.html' as field %} | 2 {% import 'input/field.html' as field with context %} |
3 | 3 |
4 <div class="attendance"> | 4 <div class="attendance box"> |
5 <p class="poll_instructions">Please indicate if you plan to attend the event.</p> | 5 <p class="poll_instructions">Please indicate if you plan to attend the event:</p> |
6 {% call form.form() %} | 6 {% call form.form() %} |
7 {{ field.meta("type", "attendance") }} | 7 {{ field.meta("type", "attendance") }} |
8 {{ field.meta("service", event_service) }} | 8 {{ field.meta("service", event_service) }} |
9 {{ field.meta("node", event_node) }} | 9 {{ field.meta("node", event_node) }} |
10 <div class="attending"> | 10 <div class="attending"> |
11 {{ field.choices("attend", ("yes", "no", "maybe"), checked=event.attend) }} | 11 {{ field.choices("attend", ("yes", "no", "maybe"), checked=event.attend) }} |
12 </div> | 12 </div> |
13 {{ field.int("guests", label="how many people will come (including you)?", init=event.get("guests", 1)) }} | 13 <div class="guests"> |
14 {{ field.submit() }} | 14 {{ field.int("guests", label="How many people will come (including you)?", init=event.get("guests", 1)) }} |
15 </div> | |
16 <div class="submit"> | |
17 {{ field.submit() }} | |
18 </div> | |
15 {% endcall %} | 19 {% endcall %} |
16 </div> | 20 </div> |