]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_toolbox.html.twig
e9697910a3da18948a11081da5460c47a24c3e0d
[airbundle] / Resources / views / form / _toolbox.html.twig
1 {# Display application or login form #}
2 {% if is_granted('ROLE_GUEST') %}
3 <div class="form">
4 {% if application is defined %}
5 {{ include('@RapsysAir/form/_application.html.twig') }}
6 {% endif %}
7 {% if session_edit is defined %}
8 {{ include('@RapsysAir/form/_session_edit.html.twig') }}
9 {% endif %}
10 </div>
11 {% elseif not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
12 <div class="form">
13 {{ include('@RapsysAir/form/_login.html.twig') }}
14 </div>
15 {% endif %}