X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/653cfc153b29c84533b00d29a92510339c6358ca..b3b9c0bd529f712a7f3a361e6c7b93a7a3524994:/Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index d127e25..2005877 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -2,31 +2,40 @@ {% block content %}

{% trans %}Login{% endtrans %}

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

Recover

+ {{ form_start(recover) }} + +
+ {{ form_row(recover.mail) }} +
+ + {{ form_row(recover.submit) }} + + {# Render CSRF token etc .#} + - {{ form_end(form) }} -
+ {{ form_end(recover) }} +
+ {% endif %} {% endblock %}