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