Add snippet's short, rate and image fields
[airbundle] / Resources / views / snippet / edit.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.contact) }}
14
15 {{ form_row(form.donate) }}
16
17 {{ form_row(form.link) }}
18
19 {{ form_row(form.profile) }}
20
21 {{ form_row(form.image) }}
22
23 {{ form_row(form.submit) }}
24
25 {% if form.delete is defined %}
26 {{ form_row(form.delete) }}
27 {% endif %}
28 </div>
29
30 {# render csrf token etc .#}
31 <footer style="display:none">{{ form_rest(form) }}</footer>
32 {{ form_end(form) }}
33 </section>
34 {% endblock %}