]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/snippet/add.html.twig
Replace body with base template
[airbundle] / Resources / views / snippet / add.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <header>
5 <h2>{{ title.page }}</h2>
6 <p>{{ description }}</p>
7 </header>
8 {{ form_start(form) }}
9 <div>
10 {{ form_row(form.description) }}
11
12 {{ form_row(form.class) }}
13
14 {{ form_row(form.short) }}
15
16 {{ form_row(form.rate) }}
17
18 {{ form_row(form.hat) }}
19
20 {{ form_row(form.contact) }}
21
22 {{ form_row(form.donate) }}
23
24 {{ form_row(form.link) }}
25
26 {{ form_row(form.profile) }}
27
28 {{ form_row(form.image) }}
29
30 {{ form_row(form.submit) }}
31
32 {% if form.delete is defined %}
33 {{ form_row(form.delete) }}
34 {% endif %}
35 </div>
36
37 {# render csrf token etc .#}
38 <footer style="display:none">{{ form_rest(form) }}</footer>
39 {{ form_end(form) }}
40 </section>
41 {% endblock %}