]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_session_edit.html.twig
Add application add error landing form
[airbundle] / Resources / views / form / _session_edit.html.twig
1 {% if session_edit.modify is defined or session_edit.move is defined or session_edit.cancel is defined or session_edit.raincancel is defined %}
2 <section>
3 <h2>{% trans %}Modify{% endtrans %}</h2>
4 {{ form_start(session_edit) }}
5 {% if session_edit.modify is defined %}
6 <div>
7 {{ form_row(session_edit.begin) }}
8
9 {{ form_row(session_edit.length) }}
10
11 {{ form_row(session_edit.modify) }}
12 </div>
13 {% endif %}
14 {% if session_edit.move is defined %}
15 <div class="dangerous">
16 {{ form_row(session_edit.location) }}
17
18 {{ form_row(session_edit.move) }}
19 </div>
20 {% endif %}
21 {% if session_edit.cancel is defined or session_edit.raincancel is defined %}
22 <div class="mortal">
23 {% if is_granted('ROLE_ADMIN') %}
24 {{ form_row(session_edit.user) }}
25 {% endif %}
26
27 {% if session_edit.cancel is defined %}
28 {{ form_row(session_edit.cancel) }}
29 {% endif %}
30
31 {% if session_edit.raincancel is defined %}
32 {{ form_row(session_edit.raincancel) }}
33 {% endif %}
34
35 {% if is_granted('ROLE_ADMIN') %}
36
37 {{ form_row(session_edit.attribute) }}
38
39 {{ form_row(session_edit.autoattribute) }}
40
41 {{ form_row(session_edit.lock) }}
42 {% endif %}
43 </div>
44 {% endif %}
45 {# render csrf token etc .#}
46 <footer style="display:none">{{ form_rest(session_edit) }}</footer>
47 {{ form_end(session_edit) }}
48 </section>
49 {% endif %}