From d9c2a619a32f59318eecfa68bc3cf8b9aa0191e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 13 Oct 2022 15:03:55 +0200 Subject: [PATCH 1/1] New layout with header --- Resources/views/form/login.html.twig | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index 927c243..8dd5efa 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,8 +1,10 @@ {% extends '@RapsysAir/body.html.twig' %} {% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %} -
-

{% trans %}Login{% endtrans %}

+
+
+

{% trans %}Login{% endtrans %}

+
{{ form_start(login) }}
{{ form_row(login.mail) }} @@ -15,10 +17,12 @@ {# Render CSRF token etc .#}
{{ form_rest(login) }}
{{ form_end(login) }} -
+ {% if recover is defined %} -
-

{% trans %}Recover{% endtrans %}

+
+
+

{% trans %}Recover{% endtrans %}

+
{{ form_start(recover) }}
@@ -30,6 +34,6 @@ {# Render CSRF token etc .#} {{ form_end(recover) }} -
+ {% endif %} {% endblock %} -- 2.41.1