]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_toolbox.html.twig
Cleanup todo
[airbundle] / Resources / views / form / _toolbox.html.twig
1 {# Display login or application form #}
2 {% if forms is defined and forms %}
3 {% if forms.login is defined and forms.login %}
4 <aside class="form">
5 {# <header><h2>Toolbox</h2></header> #}
6 {{ include('@RapsysAir/form/_login.html.twig') }}
7 </aside>
8 {% else %}
9 <aside class="form">
10 {% if forms.application is defined %}
11 {{ include('@RapsysAir/form/_application.html.twig') }}
12 {% endif %}
13 {% if forms.location is defined %}
14 {{ include('@RapsysAir/form/_location.html.twig') }}
15 {% endif %}
16 {% if forms.session is defined %}
17 {{ include('@RapsysAir/form/_session.html.twig') }}
18 {% endif %}
19 {% if forms.user is defined %}
20 {{ include('@RapsysAir/form/_user.html.twig') }}
21 {% endif %}
22 </aside>
23 {% endif %}
24 {% endif %}