Sections

{% for section in sections %}
{% if section.title is not empty %}

{{ section.title }}

{% endif %}
{{ section.text|quill_html|raw }}
{% if section.aside is not empty %} {% endif %} {% if president is defined and section == sections[0] %} {{ [president.firstname, president.lastname]|join }} {% endif %}
Modifier
{% endfor %} {% if sections|length >= 2 %} {% endif %}

Ajouter une section

{{ form_start(sectionForm) }} {{ form_row(sectionForm.title) }} {{ form_label(sectionForm.text) }}
{{ form_widget(sectionForm.text) }}
{{ form_row(sectionForm.aside) }} {{ form_row(sectionForm.left_side) }} {{ form_row(sectionForm.htmlId) }} {{ form_row(sectionForm.save) }} {{ form_end(sectionForm) }}