aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-30 17:05:37 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-30 17:05:37 +0200
commitf98a2a0fc3ae8a5955bb811f083c3d2535f96791 (patch)
tree386ecf0a54bdf904225182e0d2f63ced417b32c5 /src/Wallabag/CoreBundle/Resources/views/Security/login.html.twig
parentbdf2add2e80dc52a02113c50636b5f887639b31a (diff)
parentd0c2243b1099303be961c9d4b33eaaa95e663bef (diff)
downloadwallabag-f98a2a0fc3ae8a5955bb811f083c3d2535f96791.tar.gz
wallabag-f98a2a0fc3ae8a5955bb811f083c3d2535f96791.tar.zst
wallabag-f98a2a0fc3ae8a5955bb811f083c3d2535f96791.zip
Merge pull request #1152 from wallabag/v2-forgot-password
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.twig15
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>