]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_location.html.twig
Force string cast of simple xml elements
[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.description) }}
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.indoor) }}
20
21 {{ form_row(forms.location.hotspot) }}
22
23 {{ form_row(forms.location.submit) }}
24 </div>
25
26 {# render csrf token etc .#}
27 <footer style="display:none">{{ form_rest(forms.location) }}</footer>
28 {{ form_end(forms.location) }}
29 </section>