]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_toolbox.html.twig
Add sql requests
[airbundle] / Resources / views / form / _toolbox.html.twig
index 12e61915b9e0a299d1929325b00d573b972c7a97..e9697910a3da18948a11081da5460c47a24c3e0d 100644 (file)
@@ -1,7 +1,12 @@
 {# Display application or login form #}
 {% if is_granted('ROLE_GUEST') %}
        <div class="form">
 {# Display application or login form #}
 {% if is_granted('ROLE_GUEST') %}
        <div class="form">
-               {{ 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 %}
        </div>
 {% elseif not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
        <div class="form">
        </div>
 {% elseif not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
        <div class="form">