{% import 'bootstrap/wtf.html' as wtf %} {% macro render_field(field) %} {{ field.label }} {{ field()|safe }} {% if field.errors %} {% endif %} {% endmacro %}
{{ form.evaluation_id }} {{ form.csrf_token }} {{ render_field(form.surveillants) }} {{ render_field(form.batiment) }} {{ render_field(form.salle) }} {{ render_field(form.nb_rangs) }} {{ render_field(form.etiquetage) }} {% if form.has_groups %} {{ render_field(form.groups) }} {% endif %} {{ render_field(form.file_format) }}

Explications