aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/login.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
index f0de980..8179f54 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -19,6 +19,17 @@
name="password" placeholder="Mot de passe"/>
</div>
</div>
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+ <div class="alert alert-danger" role="alert">
+ <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
+ </span>
+ {{message}}
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
<div class="form-group">
<div class="col-md-offset-4 col-md-8">
<button type="submit" class="btn btn-primary" name="login">