{% extends "admin/change_form.html" %} {% load i18n admin_modify %} {# most parts copied from admin/change_form.html #} {% block content %}
{% csrf_token %} {% if form.errors %}

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

{{ form.non_field_errors }} {% endif %} {{ form }} {# from admin/submit_line.html #}
{% endblock %}