From: Raphaƫl Gertz Date: Wed, 14 Oct 2020 01:52:20 +0000 (+0200) Subject: Add common toolbox X-Git-Tag: 0.1.1~13 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/edf75e4315679cd018bc6144f84f71c82601e600 Add common toolbox --- diff --git a/Resources/views/form/_toolbox.html.twig b/Resources/views/form/_toolbox.html.twig new file mode 100644 index 0000000..12e6191 --- /dev/null +++ b/Resources/views/form/_toolbox.html.twig @@ -0,0 +1,10 @@ +{# Display application or login form #} +{% if is_granted('ROLE_GUEST') %} +
+ {{ include('@RapsysAir/form/_application.html.twig') }} +
+{% elseif not is_granted('IS_AUTHENTICATED_REMEMBERED') %} +
+ {{ include('@RapsysAir/form/_login.html.twig') }} +
+{% endif %}