X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..c6ec2f1d31ad4f003a93769d8cea415144e899f7:/Resources/views/form/recover_mail.html.twig diff --git a/Resources/views/form/recover_mail.html.twig b/Resources/views/form/recover_mail.html.twig index 74b2dd7..5ab1758 100644 --- a/Resources/views/form/recover_mail.html.twig +++ b/Resources/views/form/recover_mail.html.twig @@ -1,30 +1,23 @@ -{% extends '@RapsysAir/base.html.twig' %} +{% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Recover{% endtrans %}

{% if sent %} -

{% trans %}Your password is updated and an account recover message has been sent{% endtrans %}

- {% elseif notfound %} -

{% trans %}Unable to find account{% endtrans %}

+

{% trans %}Your password is updated and an account recover message has been sent{% endtrans %}

+ {% elseif not found %} +

{% trans %}Unable to find account{% endtrans %}

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