{% extends '@RapsysAir/body.html.twig' %} {% block content %} <section id="form"> <h2>{{ section }}</h2> {{ form_start(form) }} <div> {% if form.mail is defined %} {{ form_row(form.mail) }} {% endif %} {% if form.civility is defined %} {{ form_row(form.civility) }} {% endif %} {% if form.forename is defined %} {{ form_row(form.forename) }} {% endif %} {% if form.surname is defined %} {{ form_row(form.surname) }} {% endif %} {% if form.pseudonym is defined %} {{ form_row(form.pseudonym) }} {% endif %} {% if form.slug is defined %} {{ form_row(form.slug) }} {% endif %} {% if form.phone is defined %} {{ form_row(form.phone) }} {% endif %} {{ form_row(form.submit) }} </div> {# render csrf token etc .#} <footer style="display:none">{{ form_rest(form) }}</footer> {{ form_end(form) }} </section> {% endblock %}