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