comparison sat_templates/default/event/attendance.html @ 147:33c7ce833d3f

install: setup.py fix + moved "default" dir in a "sat_templates" dir: the merge request at https://bugs.goffi.org/mr/view/3 was a good basis, but not fully working ("default" dir was removed), this patch fixes it, and do some improvments: - moved "default" in "sat_templates" dir, which correspond to the python module, so it can be found easily from python - added VERSION, and mercurial hash detection, in the same way as for Cagou and backend - slight modification of classifiers - replaces tabs coming from MR by spaces
author Goffi <goffi@goffi.org>
date Sat, 02 Jun 2018 17:25:43 +0200
parents default/event/attendance.html@eb9a42fca6c8
children
comparison
equal deleted inserted replaced
146:7dc00829c32f 147:33c7ce833d3f
1 {% import 'input/form.html' as form with context %}
2 {% import 'input/field.html' as field with context %}
3
4 <div class="attendance box">
5 <p class="poll_instructions">{% trans %}Please indicate if you plan to attend the event:{% endtrans %}</p>
6 {% call form.form() %}
7 {{ field.meta("type", "attendance") }}
8 {{ field.meta("service", event.invitees_service) }}
9 {{ field.meta("node", event.invitees_node) }}
10 <div class="attending">
11 {{ field.choices("attend", (("yes", _("yes")), ("no", _("no")), ("maybe", _("maybe"))), checked=invitee.attend) }}
12 </div>
13 <div class="guests">
14 {{ field.int("guests", label=_("How many people will come (including you)?"), init=invitee.get("guests", 1)) }}
15 </div>
16 <div class="submit">
17 {{ field.submit() }}
18 </div>
19 {% endcall %}
20 </div>