X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..0879b18740713d0ae4c0c7c54cd70a7cd7d4c4af:/Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index d680b2d..8dd5efa 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,32 +1,39 @@ -{% extends '@RapsysAir/base.html.twig' %} +{% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% 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 %}