X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/fee679cb7ede16b0963ada91a595c324f6202a46..ce3bfc266e1f7ac04d8ff3cd7f78c8ef70f72529:/Resources/views/form/_toolbox.html.twig?ds=sidebyside diff --git a/Resources/views/form/_toolbox.html.twig b/Resources/views/form/_toolbox.html.twig index 12e6191..e969791 100644 --- a/Resources/views/form/_toolbox.html.twig +++ b/Resources/views/form/_toolbox.html.twig @@ -1,7 +1,12 @@ {# Display application or login form #} {% if is_granted('ROLE_GUEST') %}
- {{ include('@RapsysAir/form/_application.html.twig') }} + {% if application is defined %} + {{ include('@RapsysAir/form/_application.html.twig') }} + {% endif %} + {% if session_edit is defined %} + {{ include('@RapsysAir/form/_session_edit.html.twig') }} + {% endif %}
{% elseif not is_granted('IS_AUTHENTICATED_REMEMBERED') %}