1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

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