{% extends 'zut/layout.html' %} {% load i18n %} {% block title %}{{ _("Log in") }}{% endblock %} {% block content %}

{{ _("Log in") }}

{% if next and request.method == 'GET' %} {% if user.is_authenticated %}
{% blocktrans with username=request.user.username %}You are logged in as {{ username }}, but you are not authorized to access this page. Do you want to log in as another user?{% endblocktrans %}
{% else %}
{{ _("You must log in to access this page.") }}
{% endif %} {% endif %}
{% csrf_token %} {% for field in form %}
{{ field.errors }}
{{ field }}
{% endfor %}
{% endblock %}