X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/653cfc153b29c84533b00d29a92510339c6358ca..9f8c7e7014e3dfd8823926a3fc21c1fb2fe60de5:/Resources/views/form/login.html.twig?ds=sidebyside diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index d127e25..54855c3 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,32 +1,38 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %} -
-

{% trans %}Login{% endtrans %}

-
- {{ form_start(form) }} +
+
+

{% trans %}Login{% endtrans %}

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