X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/b99f2af57efb16c003da2b62096d6e17cf3e08d1..5bdc01337b213b789f58b3a02596688082cfc129:/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 ac5eee4..7307248 100644 --- a/Resources/views/form/recover.html.twig +++ b/Resources/views/form/recover.html.twig @@ -1,27 +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) }}
- {% if form.mail is defined %} - {{ form_row(form.mail) }} + {% if recover.mail is defined %} + {{ form_row(recover.mail) }} {% endif %} - {% if form.password is defined %} - {{ form_row(form.password) }} + {% if recover.password is defined %} + {{ form_row(recover.password) }} {% endif %} - {{ form_row(form.submit) }} + {{ form_row(recover.submit) }}
{# Render CSRF token etc .#} -
{{ form_rest(form) }}
- {{ form_end(form) }} + + {{ form_end(recover) }} {% endif %} -
+ {% endblock %}