diff --git a/docs/authentication.txt b/docs/authentication.txt index d0df43d6a8..aacf21c106 100644 --- a/docs/authentication.txt +++ b/docs/authentication.txt @@ -541,14 +541,14 @@ block:: {% block content %} - {% if form.has_errors %} + {% if form.errors %}

Your username and password didn't match. Please try again.

{% endif %}
- - + +
{{ form.username }}
{{ form.password }}
{{ form.username.label_tag }}{{ form.username }}
{{ form.password.label_tag }}{{ form.password }}