diff options
author | Samir Shah <solaris.smoke@gmail.com> | 2017-07-11 14:53:06 +0300 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-07-11 07:53:06 -0400 |
commit | d7d0a0c8e9ed9264060f42ef6f405e4fd498c599 (patch) | |
tree | 6d5b7723ed6c304a852f8331c8f882b653c0b62a /tests/templates | |
parent | ca74e563500e291480f1976b58fcd34aac768dca (diff) | |
download | django-d7d0a0c8e9ed9264060f42ef6f405e4fd498c599.tar.gz |
Fixed rendering of form errors in tests/templates/login.html.
Diffstat (limited to 'tests/templates')
-rw-r--r-- | tests/templates/login.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/templates/login.html b/tests/templates/login.html index 0d301600a5..d1aa5f6b7c 100644 --- a/tests/templates/login.html +++ b/tests/templates/login.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %}Login{% endblock %} {% block content %} -{% if form.has_errors %} +{% if form.errors %} <p>Your username and password didn't match. Please try again.</p> {% endif %} |