{% if form.errors and not form.non_field_errors %}
{% blocktranslate count form.errors.items|length as counter %}
Please correct the error below.
{% plural %}
Please correct the errors below.
{% endblocktranslate %}
{% endif %}
{% if form.non_field_errors %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
{% if user.is_authenticated %}
{% translate "Already logged in" %}
{% blocktrans trimmed with user=request.user %}
You are authenticated as {{ user }}, but are not authorized to access this page. Would you like to login to a different account?
{% endblocktrans %}