]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/snippet/add.html.twig
Allow phone field to be optional
[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.short) }}
12
13 {{ form_row(form.rate) }}
14
15 {{ form_row(form.contact) }}
16
17 {{ form_row(form.donate) }}
18
19 {{ form_row(form.link) }}
20
21 {{ form_row(form.profile) }}
22
23 {{ form_row(form.image) }}
24
25 {{ form_row(form.submit) }}
26
27 {% if form.delete is defined %}
28 {{ form_row(form.delete) }}
29 {% endif %}
30 </div>
31
32 {# render csrf token etc .#}
33 <footer style="display:none">{{ form_rest(form) }}</footer>
34 {{ form_end(form) }}
35 </section>
36 {% endblock %}