]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/location/index.html.twig
Remove donate, link and profile
[airbundle] / Resources / views / location / index.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <article id="dashboard">
4 <header>
5 <h2><a href="{{ path('rapsys_air_location') }}">{% trans %}Locations{% endtrans %}</a></h2>
6 <p>{% trans %}Libre Air location list{% endtrans %}</p>
7 </header>
8 <div class="panel">
9 <div class="grid four location">
10 {% for id, title in locations %}
11 <article class="cell">
12 <h3><a href="{{ path('rapsys_air_location_view', {'id': id}) }}">{{ title }}</a></h3>
13 {% if forms.locations is defined and forms.locations[id] is defined and forms.locations[id] %}
14 {{ form_start(forms.locations[id]) }}
15 <div>
16 {{ form_row(forms.locations[id].title) }}
17
18 {{ form_row(forms.locations[id].short) }}
19
20 {{ form_row(forms.locations[id].address) }}
21
22 {{ form_row(forms.locations[id].zipcode) }}
23
24 {{ form_row(forms.locations[id].city) }}
25
26 {{ form_row(forms.locations[id].latitude) }}
27
28 {{ form_row(forms.locations[id].longitude) }}
29
30 {{ form_row(forms.locations[id].hotspot) }}
31
32 {{ form_row(forms.locations[id].submit) }}
33 </div>
34
35 {# render csrf token etc .#}
36 <footer style="display:none">{{ form_rest(forms.locations[id]) }}</footer>
37 {{ form_end(forms.locations[id]) }}
38 {% endif %}
39 </article>
40 {% endfor %}
41 </div>
42 {{ include('@RapsysAir/form/_toolbox.html.twig') }}
43 </div>
44 </article>
45 {% endblock %}