diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-03-07 23:25:36 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-03-08 07:35:24 +0100 |
commit | 6894d48e03c397096bb64420373afa60c397fe97 (patch) | |
tree | 0deb201b05b6aea527abc82ba7989732c4afbdb9 /src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig | |
parent | f37d1427a1b75f9d7a2e273b2e9fb0e895a769ab (diff) | |
download | wallabag-6894d48e03c397096bb64420373afa60c397fe97.tar.gz wallabag-6894d48e03c397096bb64420373afa60c397fe97.tar.zst wallabag-6894d48e03c397096bb64420373afa60c397fe97.zip |
Handle forgot password
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig b/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig index eb8f08c8..f669574e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig | |||
@@ -5,15 +5,19 @@ | |||
5 | {% block body_class %}login{% endblock %} | 5 | {% block body_class %}login{% endblock %} |
6 | 6 | ||
7 | {% block menu %}{% endblock %} | 7 | {% block menu %}{% endblock %} |
8 | {% block messages %}{% endblock %} | ||
8 | 9 | ||
9 | {% block content %} | 10 | {% block content %} |
10 | {% if error %} | ||
11 | <div>{{ error.message }}</div> | ||
12 | {% endif %} | ||
13 | |||
14 | <form action="{{ path('login_check') }}" method="post" name="loginform"> | 11 | <form action="{{ path('login_check') }}" method="post" name="loginform"> |
15 | <fieldset class="w500p center"> | 12 | <fieldset class="w500p center"> |
16 | <h2 class="mbs txtcenter">{% trans %}Login to wallabag{% endtrans %}</h2> | 13 | <h2 class="mbs txtcenter">{% trans %}Login to wallabag{% endtrans %}</h2> |
14 | {% if error %} | ||
15 | <div>{{ error.message }}</div> | ||
16 | {% endif %} | ||
17 | |||
18 | {% for flashMessage in app.session.flashbag.get('notice') %} | ||
19 | <p>{{ flashMessage }}</p> | ||
20 | {% endfor %} | ||
17 | 21 | ||
18 | <div class="row"> | 22 | <div class="row"> |
19 | <label class="col w150p" for="username">{% trans %}Username{% endtrans %}</label> | 23 | <label class="col w150p" for="username">{% trans %}Username{% endtrans %}</label> |
@@ -26,7 +30,8 @@ | |||
26 | </div> | 30 | </div> |
27 | 31 | ||
28 | <div class="row mts txtcenter"> | 32 | <div class="row mts txtcenter"> |
29 | <button type="submit">login</button> | 33 | <button type="submit">Login</button> |
34 | <a href="{{ path('forgot_password') }}" class="small">Forgot your password?</a> | ||
30 | </div> | 35 | </div> |
31 | </fieldset> | 36 | </fieldset> |
32 | </form> | 37 | </form> |