{% extends 'datafreezer/base.html' %} {% load static %} {% block page_title %}Log in | {{ block.super }}{% endblock page_title %} {% block custom_head %} {{ block.super }} {{ form.media }} {% endblock %} {% block bodyclass %}login{% endblock %} {% block navigation %}{% endblock %} {% block title %}Log in{% endblock title %} {% block pre_main_content %}
DataFreezer
{% endblock pre_main_content %} {% block content %} {% if form.errors and not form.non_field_errors %}

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

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

{{ error }}

{% endfor %} {% endif %}
{% if user.is_authenticated %}

You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account?

{% endif %}
{% csrf_token %}
{{ form.username.errors }}
{{ form.password.errors }} {{ form.password }}
{% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
{% endblock %}