From 852d7acc0ef4b53018d757a680ecb7569ebf990c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 11 Dec 2023 07:04:12 +0100 Subject: [PATCH] Add login template --- Resources/views/form/login.html.twig | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig new file mode 100644 index 0000000..2d15c51 --- /dev/null +++ b/Resources/views/form/login.html.twig @@ -0,0 +1,38 @@ +{% extends '@RapsysBlog/_base.html.twig' %} +{% block content %} +
+
+

{{ title }}

+
+
+ {{ form_start(login) }} + {{ form_row(login.mail) }} + + {{ form_row(login.password) }} + + {{ form_row(login.submit) }} + + {# Render CSRF token etc .#} +
{{ form_rest(login) }}
+ {{ form_end(login) }} +
+
+ {% if recover is defined %} +
+
+

{% trans %}Recover{% endtrans %}

+
+
+ {{ form_start(recover) }} + + {{ form_row(recover.mail) }} + + {{ form_row(recover.submit) }} + + {# Render CSRF token etc .#} + + {{ form_end(recover) }} +
+
+ {% endif %} +{% endblock %} -- 2.41.1