Mercurial > libervia-templates
annotate default/event/attendance.html @ 19:422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 May 2017 12:59:43 +0200 |
parents | 48b831ab4238 |
children | 8fa2fd2e928e |
rev | line source |
---|---|
11 | 1 {% import 'input/form.html' as form %} |
17 | 2 {% import 'input/field.html' as field with context %} |
11 | 3 |
17 | 4 <div class="attendance box"> |
5 <p class="poll_instructions">Please indicate if you plan to attend the event:</p> | |
11 | 6 {% call form.form() %} |
7 {{ field.meta("type", "attendance") }} | |
19
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
8 {{ field.meta("service", event.invitees_service) }} |
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
9 {{ field.meta("node", event.invitees_node) }} |
11 | 10 <div class="attending"> |
19
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
11 {{ field.choices("attend", ("yes", "no", "maybe"), checked=invitee.attend) }} |
11 | 12 </div> |
17 | 13 <div class="guests"> |
19
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
14 {{ field.int("guests", label="How many people will come (including you)?", init=invitee.get("guests", 1)) }} |
17 | 15 </div> |
16 <div class="submit"> | |
17 {{ field.submit() }} | |
18 </div> | |
11 | 19 {% endcall %} |
20 </div> |