From: Raphaƫl Gertz Date: Mon, 11 Dec 2023 06:04:12 +0000 (+0100) Subject: Add login template X-Git-Tag: 0.2~21 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/852d7acc0ef4b53018d757a680ecb7569ebf990c?ds=sidebyside Add login template --- 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 %}