X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f1b8fce2901a5491a050c415cf156c013b986173..36367b3d9770a29f2e516e40524c5d4eef8a9aca:/Resources/views/form/recover.html.twig diff --git a/Resources/views/form/recover.html.twig b/Resources/views/form/recover.html.twig index d7df57f..7307248 100644 --- a/Resources/views/form/recover.html.twig +++ b/Resources/views/form/recover.html.twig @@ -1,29 +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_end(form) }} + + {{ form_end(recover) }} {% endif %}
{% endblock %}