X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/c60db40db3fd939c293780703eb6b8f18da9f858..dbe6f6710034af730e633e1c810ad7f020fe9551:/Resources/views/form/recover.html.twig diff --git a/Resources/views/form/recover.html.twig b/Resources/views/form/recover.html.twig index 310b485..7307248 100644 --- a/Resources/views/form/recover.html.twig +++ b/Resources/views/form/recover.html.twig @@ -1,21 +1,28 @@ -{% extends '@RapsysAir/body.html.twig' %} -{% block title %}{{ site.title }} - {{ title }}{% endblock %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %} -
-

{% trans %}Recover{% endtrans %}

+
+
+

{% trans %}Recover{% endtrans %}

+
{% if sent %}

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

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