X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/0dce2e10596c1763fa2a802b71c750013deb9e85..99cbf1604fcbf9a17488abe20954797c17eb2fd2:/Resources/views/form/login.html.twig?ds=sidebyside diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index d127e25..927c243 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,32 +1,35 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}

{% trans %}Login{% endtrans %}

-
- {{ form_start(form) }} + {{ 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_end(login) }} +
+ {% if recover is defined %} +
+

{% trans %}Recover{% endtrans %}

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