X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b57770b75767e45ed5b4eb9f600ec7c459c494cc..0f6e0b65f14d1d417c41de11f0056ac7edc926e1:/Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index 2005877..927c243 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,41 +1,35 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Login{% endtrans %}

-
- {{ form_start(login) }} -
- {{ form_row(login.mail) }} + {{ form_start(login) }} +
+ {{ form_row(login.mail) }} - {{ form_row(login.password) }} -
+ {{ 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) }} + {# Render CSRF token etc .#} +
{{ form_rest(login) }}
+ {{ form_end(login) }} +
+ {% if recover is defined %} +
+

{% trans %}Recover{% endtrans %}

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