{% extends "admin/base_site.html" %} {% load i18n static allauth account socialaccount %} {% block title %}{% trans "Log in" %}{% endblock %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} login auth-login{% endblock %} {% block usertools %}{% endblock %} {% block nav-global %}{% endblock %} {% block content_title %}

{% trans "Log in" %}

{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %}
{% if form.errors %}

{% trans "Please correct the error below." %}

{% endif %} {{ form.non_field_errors }}
{% csrf_token %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% elif field.field.widget.input_type == 'checkbox' %}
{{ field.errors }} {{ field }}
{% else %}
{% if field.name == 'login' %} {% else %} {{ field.label_tag }} {% endif %} {{ field }} {{ field.errors }}
{% endif %} {% endfor %} {% if redirect_field_value %} {% endif %}
{% get_providers as socialaccount_providers %} {% if socialaccount_providers %}

{% trans "or" %}

{% include "socialaccount/snippets/provider_list.html" with process="login" %}
{% endif %}
{% endblock %}