From 2d9b1654749a61c05796c73e049e8e1c6bb1722c Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Sat, 21 Mar 2015 18:33:17 -0400 Subject: handle wrong login/password and improve translations --- templates/login.htm | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/login.htm b/templates/login.htm index df43728..ded1b10 100644 --- a/templates/login.htm +++ b/templates/login.htm @@ -18,17 +18,17 @@
-

@@ -47,6 +47,17 @@ name="password" placeholder="Password"/> + {% with messages = get_flashed_messages() %} + {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + {% endwith %}
+ -- cgit v1.2.3-70-g09d2