{% extends "admin/base_site.html" %} {% load i18n admin_static admin_modify %} {% load url from future %} {% load admin_urls %} {% block extrahead %}{{ block.super }} {% url 'admin:jsi18n' as jsi18nurl %} {{ media }} {% endblock %} {% block extrastyle %}{% endblock %} {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}
{% csrf_token %}{% block form_top %}{% endblock %} {% if is_popup %}{% endif %} {% if errors %}

Whoops!

Your form has a couple errors. Please fix them below.
{% endif %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% endblock %} {% if not add and has_delete_permission %} Delete {% endif %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% if has_change_permission %} {% endif %} {% if not is_popup %} {% if has_add_permission %} {% endif %} {% if has_edit_permission %} {% endif %} {% endif %}
{% endblock %}