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

This commit is contained in:
Samir Shah 2017-07-11 14:53:06 +03:00 committed by Tim Graham
parent ca74e56350
commit d7d0a0c8e9
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}