{% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %} {% trans "Log in" %}

{% trans "Log in" %}

{% if form.errors %}

{% trans "Your username and password didn't match. Please try again." %}

{% endif %} {% if next and request.user.is_authenticated %}

{% trans "Your account doesn't have access to this page. To proceed, please log in with an account that has access." %}

{% endif %}
{% csrf_token %} {{ form.as_p }}