{% extends "admin/base_site.html" %} {% comment %} This template overrides one of the standard admin ones. The changes are: - take care of url prefix - give the login button a jquery-ui look and feel - check for old versions of Internet Explorer {% endcomment %} {% load i18n %} {% block extrastyle %}{{block.super}} {% endblock %} {% block messages %}{% endblock %} {% block extrahead %} {% endblock %} {% block bodyclass %}login{% endblock %} {% block nav-global %}{% endblock %} {% block content_title %}{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %}
{% block branding %}{{ block.super }}{% endblock %}
{% csrf_token %}
{{ form.username.errors }}
{{ form.password.errors }}
{% setting "SESSION_COOKIE_AGE" as persistent_cookie %} {% if persistent_cookie %}
 
{% endif %}
{% trans "Forgot your password?" %}
{% if form.errors and not form.non_field_errors %}
{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}
{% endfor %} {% endif %} {% if messages %}
{% for message in messages %} {% endfor %}
{% endif %} {% checkPassword "admin" "admin" as recommend_reset %} {% if recommend_reset %}
{% endif %} {% endblock %}