X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/0dce2e10596c1763fa2a802b71c750013deb9e85..448298c845f5e2567ab11ae3d66fe2a3fee350d9:/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 081376e..5ab1758 100644 --- a/Resources/views/form/recover_mail.html.twig +++ b/Resources/views/form/recover_mail.html.twig @@ -1,30 +1,23 @@ {% 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 %}