X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/58242917a50ec39071529953e77343fd3eb6dda0..dc0e5b806a049a1fb43d7a64292f28c8178e4e43:/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 %}