X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/653cfc153b29c84533b00d29a92510339c6358ca..8b42e55e661fe05af15b0cf13d3e2bdfc094fa1a:/Resources/views/form/recover.html.twig?ds=sidebyside diff --git a/Resources/views/form/recover.html.twig b/Resources/views/form/recover.html.twig index 74043fb..7307248 100644 --- a/Resources/views/form/recover.html.twig +++ b/Resources/views/form/recover.html.twig @@ -1,28 +1,28 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %} -
-

{% trans %}Recover{% endtrans %}

+
+
+

{% trans %}Recover{% endtrans %}

+
{% if sent %} -

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

+

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

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