git://git.onelab.eu
/
plstackapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix missing error message for bad logins
[plstackapi.git]
/
planetstack
/
templates
/
admin
/
login.html
diff --git
a/planetstack/templates/admin/login.html
b/planetstack/templates/admin/login.html
index
a165707
..
293834c
100644
(file)
--- a/
planetstack/templates/admin/login.html
+++ b/
planetstack/templates/admin/login.html
@@
-25,7
+25,12
@@
{% endif %}
{% if form.non_field_errors or form.this_is_the_login_form.errors %}
{% endif %}
{% if form.non_field_errors or form.this_is_the_login_form.errors %}
-{% for error in form.non_field_errors|add:form.this_is_the_login_form.errors %}
+{% for error in form.non_field_errors %}
+<p class="errornote">
+ {{ error }}
+</p>
+{% endfor %}
+{% for error in form.this_is_the_login_form.errors %}
<p class="errornote">
{{ error }}
</p>
<p class="errornote">
{{ error }}
</p>