]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_location.html.twig
Set mail and password as optional fields
[airbundle] / Resources / views / form / _location.html.twig
1 <section>
2 <h2>{% trans %}Add{% endtrans %}</h2>
3 {{ form_start(forms.location) }}
4 <div>
5 {{ form_row(forms.location.title) }}
6
7 {{ form_row(forms.location.short) }}
8
9 {{ form_row(forms.location.address) }}
10
11 {{ form_row(forms.location.zipcode) }}
12
13 {{ form_row(forms.location.city) }}
14
15 {{ form_row(forms.location.latitude) }}
16
17 {{ form_row(forms.location.longitude) }}
18
19 {{ form_row(forms.location.hotspot) }}
20
21 {{ form_row(forms.location.submit) }}
22 </div>
23
24 {# render csrf token etc .#}
25 <footer style="display:none">{{ form_rest(forms.location) }}</footer>
26 {{ form_end(forms.location) }}
27 </section>