{% extends 'accounts/base.html' %} {% load i18n admin_static %} {% block title %}登录 数据中心运维平台 - IDCOPS{% endblock %} {% block body %}
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
{% 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 %}
{% trans 'Forgotten your password or username?' %}
{% endblock %}