{% extends "admin/base_site.html" %} {% load i18n admin_static zoneadmin_utils %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block bodyclass %}{{ block.super }}login{% endblock %} {% block nav-global %}{% endblock %} {% block content_title %}{% endblock %} {% block content-col %}12{% endblock %} {% block container-width %}400px{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %} {% if form.errors and not form.non_field_errors %}

{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %}

Log in

{% csrf_token %}
{% custom_widget form.username placeholder="Username" autocapitalize="off" autocorrect="off" autofocus="" %} {% for e in form.username.errors %} {{ e }} {% endfor %}
{% custom_widget form.password placeholder="Password" autocapitalize="off" autocorrect="off" autofocus="" %} {% for e in form.password.errors %} {{ e }} {% endfor %}
{% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
{% endblock %}