comparison 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
comparison
equal deleted inserted replaced
18:d4a8afa7b590 19:422c54e0204a
3 3
4 <div class="attendance box"> 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.invitees_service) }}
9 {{ field.meta("node", event_node) }} 9 {{ field.meta("node", event.invitees_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=invitee.attend) }}
12 </div> 12 </div>
13 <div class="guests"> 13 <div class="guests">
14 {{ field.int("guests", label="How many people will come (including you)?", init=event.get("guests", 1)) }} 14 {{ field.int("guests", label="How many people will come (including you)?", init=invitee.get("guests", 1)) }}
15 </div> 15 </div>
16 <div class="submit"> 16 <div class="submit">
17 {{ field.submit() }} 17 {{ field.submit() }}
18 </div> 18 </div>
19 {% endcall %} 19 {% endcall %}