X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/987ff94ba79b4aa46ec1817a5a5f4a8360416f65..15c2cdb00b68642c820b832b096967ca041f0719:/Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index a9a1daa..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) }} - -
- {{ form_row(recover.mail) }} + {# Render CSRF token etc .#} +
{{ form_rest(login) }}
+ {{ form_end(login) }} +
+ {% if recover is defined %} +
+

{% trans %}Recover{% endtrans %}

+ {{ form_start(recover) }} - {{ form_row(recover.submit) }} -
+
+ {{ 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 %}