Browse Source

Fixed rendering of form errors in tests/templates/login.html.

Samir Shah 7 years ago
parent
commit
d7d0a0c8e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/templates/login.html

+ 1 - 1
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 %}