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