82cd5f1932a68d7ea9fdabaac649529f00851c3a
[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.class) }}
10
11 {{ form_row(form.contact) }}
12
13 {{ form_row(form.donate) }}
14
15 {{ form_row(form.link) }}
16
17 {{ form_row(form.profile) }}
18
19 {{ form_row(form.submit) }}
20
21 {% if form.delete is defined %}
22 {{ form_row(form.delete) }}
23 {% endif %}
24 </div>
25
26 {# render csrf token etc .#}
27 <footer style="display:none">{{ form_rest(form) }}</footer>
28 {{ form_end(form) }}
29 </section>
30 {% endblock %}