]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_toolbox.html.twig
Add google token repository
[airbundle] / Resources / views / form / _toolbox.html.twig
index 14e9593a55589819589c46cdb7379ebe2491932b..916093e37449c59a4e6dd7e0ee6d82b8588ee701 100644 (file)
@@ -1,12 +1,13 @@
 {# Display login or application form #}
 {% if forms is defined and forms %}
-       {% if forms.login is defined and forms.login %}
-               <aside class="form">
-                       {# <header><h2>Toolbox</h2></header> #}
+       <aside class="form">
+               {# <header><h2>Toolbox</h2></header> #}
+               {% if forms.register is defined and forms.register %}
+                       {{ include('@RapsysAir/form/_register.html.twig') }}
+               {% endif %}
+               {% if forms.login is defined and forms.login %}
                        {{ include('@RapsysAir/form/_login.html.twig') }}
-               </aside>
-       {% else %}
-               <aside class="form">
+               {% else %}
                        {% if forms.application is defined %}
                                {{ include('@RapsysAir/form/_application.html.twig') }}
                        {% endif %}
@@ -16,6 +17,9 @@
                        {% if forms.session is defined %}
                                {{ include('@RapsysAir/form/_session.html.twig') }}
                        {% endif %}
-               </aside>
-       {% endif %}
+                       {% if forms.user is defined %}
+                               {{ include('@RapsysAir/form/_user.html.twig') }}
+                       {% endif %}
+               {% endif %}
+       </aside>
 {% endif %}