]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/login.html.twig
Switch from Mime\NamedAddress to Mime\Address as it do not exists anymore in symfony 4.4
[airbundle] / Resources / views / form / login.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2>
5 <div>
6 {{ form_start(form) }}
7
8 <header>{{ form_errors(form) }}</header>
9
10 <section>
11 {{ form_row(form.mail) }}
12
13 {{ form_row(form.password) }}
14
15 {% if error %}
16 <div class="error">
17 <ul><li><a href="{{ path('rapsys_user_recover') }}">{% trans %}To recover your account click here{% endtrans %}</a></li></ul>
18 </div>
19 {% endif %}
20 </section>
21
22 {{ form_row(form.submit) }}
23
24 {# Render CSRF token etc .#}
25 <footer style="display:none">
26 {{ form_rest(form) }}
27 </footer>
28
29 {{ form_end(form) }}
30 </div>
31 </section>
32 {% endblock %}