X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/c3013f0052a8f56d6f7bd6bcd54a596c794d20b5..8ca7256d7db44ec347b2324d2fabc928a99b3d5e:/templates/recover.html.twig?ds=sidebyside diff --git a/templates/recover.html.twig b/templates/recover.html.twig index 3b7dab9..b67177f 100644 --- a/templates/recover.html.twig +++ b/templates/recover.html.twig @@ -1,28 +1,25 @@ -{% extends '@RapsysUser/base.html.twig' %} +{% trans_default_domain 'rapsysuser' %} +{% extends '@RapsysUser/_base.html.twig' %} {% block content %}

{{ title }}

- {% if sent %} -

{% trans from "rapsysuser" %}Your recover account message has been sent{% endtrans %}

- {% else %} - {{ form_start(recover) }} -
- {% if recover.mail is defined %} - {{ form_row(recover.mail) }} - {% endif %} + {{ form_start(recover) }} +
+ {% if recover.mail is defined %} + {{ form_row(recover.mail) }} + {% endif %} - {% if recover.password is defined %} - {{ form_row(recover.password) }} - {% endif %} + {% if recover.password is defined %} + {{ form_row(recover.password) }} + {% endif %} - {{ form_row(recover.submit) }} -
+ {{ form_row(recover.submit) }} +
- {# Render CSRF token etc .#} - - {{ form_end(recover) }} - {% endif %} + {# Render CSRF token etc .#} + + {{ form_end(recover) }}
{% endblock %}