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

{{ title }}

+
+
+ {% if sent %} +

{% trans %}Your recover account message has been sent{% endtrans %}

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