Mercurial > libervia-templates
comparison default/event/attendance.html @ 37:eb9a42fca6c8
input/form: added csrf_token hidden field if it is defined, and import form with context to get this variable
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 10 Jul 2017 19:11:34 +0200 |
parents | 8fa2fd2e928e |
children |
comparison
equal
deleted
inserted
replaced
36:baa0942d6b45 | 37:eb9a42fca6c8 |
---|---|
1 {% import 'input/form.html' as form %} | 1 {% import 'input/form.html' as form with context %} |
2 {% import 'input/field.html' as field with context %} | 2 {% import 'input/field.html' as field with context %} |
3 | 3 |
4 <div class="attendance box"> | 4 <div class="attendance box"> |
5 <p class="poll_instructions">{% trans %}Please indicate if you plan to attend the event:{% endtrans %}</p> | 5 <p class="poll_instructions">{% trans %}Please indicate if you plan to attend the event:{% endtrans %}</p> |
6 {% call form.form() %} | 6 {% call form.form() %} |