{% extends "admin/base_site.html" %} {% load url from future %} {% load i18n %} {% block bodyclass %}grp-login{% endblock %} {% block content-class %}{% endblock %} {% block content_title %}{% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %}
{% if form.errors and not form.non_field_errors and not form.this_is_the_login_form.errors %}

{% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{% endif %} {% if form.non_field_errors or form.this_is_the_login_form.errors %} {% for error in form.non_field_errors|add:form.this_is_the_login_form.errors %}

{{ error }}

{% endfor %} {% endif %} {% if error_message %}{% endif %}
{% csrf_token %}
{% if not form.this_is_the_login_form.errors %}{{ form.username.errors }}{% endif %}
{% if not form.this_is_the_login_form.errors %}{{ form.password.errors }}{% endif %}
{{ form.captcha }} {% if not form.this_is_the_login_form.errors %}{{ form.captcha.errors }}{% endif %}
{% endblock %}