comparison sat_templates/templates/bulma/event/attendance.html @ 230:0e69b5843c2f

theme: bulma theme first draft: This theme uses the Bulma CSS framework, Brython to handle the menu on touch devices, and Sass to customize Bulma. CSS default fallbacks are disabled as Bulma uses its own naming conventions, and default fallbacks would lead to hard to debug conflicts. `common.js` has been slightly improved to handle custom classed in `tab_select` The theme is not complete yet, but it is functional.
author Goffi <goffi@goffi.org>
date Tue, 19 May 2020 00:02:34 +0200
parents
children 1928ba66c194
comparison
equal deleted inserted replaced
229:739c3e6999fa 230:0e69b5843c2f
1 {% import 'input/form.html' as form with context %}
2 {% import 'input/field.html' as field with context %}
3
4
5 <div class="message">
6 <div class="message-body is-info">
7 {% trans %}Please indicate if you plan to attend the event:{% endtrans %}
8 </div>
9 </div>
10 {% call form.form() %}
11 {{ field.meta("type", "attendance") }}
12 {{ field.meta("service", event.invitees_service) }}
13 {{ field.meta("node", event.invitees_node) }}
14 <div class="box attending">
15 {{ field.choices("attend", (("yes", _("yes")), ("no", _("no")), ("maybe", _("maybe"))), checked=invitee.attend) }}
16 </div>
17 <div class="guests">
18 {{ field.int("guests", label=_("How many people will come (including you)?"), init=invitee.get("guests", 1)) }}
19 </div>
20 <div class="submit has-margin-top-1">
21 {{ field.submit() }}
22 </div>
23 {% endcall %}
24