X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/1b404150ed3091d73848a272fed24d96a2366bad..9aa1ea280823925216dbfa3d6e9c81865b491ee6:/Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index fd8ff05..8dd5efa 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,41 +1,39 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %} -
-

{% trans %}Login{% endtrans %}

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

Recover

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