{% extends "admin/base_site.html" %} {% load i18n admin_static material_form %} {% block content %}
{% trans 'Log in' %} {% 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 %}
{% csrf_token %} {% form %} {% part form.username prefix %}{% endpart %} {% part form.password prefix %}{% endpart %} {% endform %} {% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
{% endblock %}