X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f385b6d8192ad811257a967fc26f18b81e92ec78..5ec45cd7fa8b353f4f211c0abfcc0c875a938c7e:/Resources/views/form/_toolbox.html.twig diff --git a/Resources/views/form/_toolbox.html.twig b/Resources/views/form/_toolbox.html.twig index 7009caa..916093e 100644 --- a/Resources/views/form/_toolbox.html.twig +++ b/Resources/views/form/_toolbox.html.twig @@ -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 %} @@ -19,6 +20,6 @@ {% if forms.user is defined %} {{ include('@RapsysAir/form/_user.html.twig') }} {% endif %} - </aside> - {% endif %} + {% endif %} + </aside> {% endif %}