Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add strict types
[airbundle]
/
Resources
/
views
/
form
/
login.html.twig
diff --git
a/Resources/views/form/login.html.twig
b/Resources/views/form/login.html.twig
index cdfeca540d16d834b0411f712dfc692feb05eddb..54855c327feca97a2cfabcc30f626e17113f6687 100644
(file)
--- a/
Resources/views/form/login.html.twig
+++ b/
Resources/views/form/login.html.twig
@@
-1,23
+1,27
@@
-{% extends '@RapsysAir/b
ody
.html.twig' %}
+{% extends '@RapsysAir/b
ase
.html.twig' %}
{% block content %}
{% block content %}
- <section id="form">
- <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2>
+ <article id="form">
+ <header>
+ <h2><a href="{{ path('rapsysuser_login') }}">{% trans %}Login{% endtrans %}</a></h2>
+ </header>
{{ form_start(login) }}
{{ form_start(login) }}
- <
section
>
+ <
div
>
{{ form_row(login.mail) }}
{{ form_row(login.password) }}
{{ form_row(login.submit) }}
{{ form_row(login.mail) }}
{{ form_row(login.password) }}
{{ form_row(login.submit) }}
- </
section
>
+ </
div
>
{# Render CSRF token etc .#}
<footer style="display:none">{{ form_rest(login) }}</footer>
{{ form_end(login) }}
{# Render CSRF token etc .#}
<footer style="display:none">{{ form_rest(login) }}</footer>
{{ form_end(login) }}
- </
section
>
+ </
article
>
{% if recover is defined %}
{% if recover is defined %}
- <section id="recover">
- <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
+ <article id="recover">
+ <header>
+ <h2><a href="{{ path('rapsysuser_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
+ </header>
{{ form_start(recover) }}
<div>
{{ form_start(recover) }}
<div>
@@
-29,6
+33,6
@@
{# Render CSRF token etc .#}
<footer style="display:none">{{ form_rest(recover) }}</footer>
{{ form_end(recover) }}
{# Render CSRF token etc .#}
<footer style="display:none">{{ form_rest(recover) }}</footer>
{{ form_end(recover) }}
- </
section
>
+ </
article
>
{% endif %}
{% endblock %}
{% endif %}
{% endblock %}