From: Raphaƫl Gertz Date: Thu, 13 Oct 2022 13:03:55 +0000 (+0200) Subject: New layout with header X-Git-Tag: 0.3.0~187 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/d9c2a619a32f59318eecfa68bc3cf8b9aa0191e1 New layout with header --- 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 %}