]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/snippet/add.html.twig
Adapt template to new context tree
[airbundle] / Resources / views / snippet / add.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2>{{ section }}</h2>
5 {{ form_start(form) }}
6 <div>
7 {{ form_row(form.description) }}
8
9 {{ form_row(form.submit) }}
10
11 {% if form.delete is defined %}
12 {{ form_row(form.delete) }}
13 {% endif %}
14 </div>
15
16 {# render csrf token etc .#}
17 <footer style="display:none">{{ form_rest(form) }}</footer>
18 {{ form_end(form) }}
19 </section>
20 {% endblock %}