Commit aa9b4905723aeda562c5c1097f32e1fdae667abd
1 parent
05eafcb1
Exists in
master
and in
39 other branches
Adding message to feedback user when login fails - closes #61
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/templates/base.html
| ... | ... | @@ -132,6 +132,13 @@ |
| 132 | 132 | {% endblock %} |
| 133 | 133 | |
| 134 | 134 | {% block messages %} |
| 135 | + {% if request.GET.bid_login_failed %} | |
| 136 | + <div class="alert alert-dismissable alert-danger"> | |
| 137 | + <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | |
| 138 | + {% trans 'The login has failed. Please, try again.' %} | |
| 139 | + </div> | |
| 140 | + {% endif %} | |
| 141 | + | |
| 135 | 142 | {% for message in messages %} |
| 136 | 143 | <div class="alert alert-dismissable {{ message.tags }}"> |
| 137 | 144 | <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | ... | ... |