From: Raphaƫl Gertz Date: Wed, 9 Dec 2020 20:49:30 +0000 (+0100) Subject: Add session_edit contextual form X-Git-Tag: 0.1.6~2 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/20e31fb0deec47be43c48c28dc31267b49f02de5?ds=inline Add session_edit contextual form Add application contextual form --- 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') %}