From d6bc9beb47eb59ae6f19ddc2f3f1a944c8551427 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 9 Dec 2020 21:49:30 +0100 Subject: [PATCH] Add session_edit contextual form Add application contextual form --- Resources/views/form/_toolbox.html.twig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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') %}
-- 2.41.0