{% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static %} {# Admin styling code largely taken from http://www.dmertl.com/blog/?p=116 #} {% block extrastyle %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block breadcrumbs %}
{% endblock %} {% block content_title %}{% endblock %} {% block content %}{% if form.errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{{ form.non_field_errors }} {% endif %} {% endblock %}