{% extends "base_site.html" %} {% block title %}{{ _('Authorization') }} | {{ _('XvsO') }}{% endblock %} {% block content %} {% if user.is_active %} {{ user.username }}, Вы уже авторизорваны. Вы можете выйти.

{% else %} {% if form.non_field_errors %} {{ form.non_field_errors }} {% endif %}
{% csrf_token %}
{% for field in form %}
{{ field.label_tag }}
{{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% if field.errors %}
{{ field.errors }}
{% endif %}
{% endfor %}


{% endif %} {% endblock %}