{% extends "admin/base_site.html" %} {% load i18n admin_modify adminmedia %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block content %}
{% block object-tools %} {% if change %}{% if not is_popup %} {% endif %}{% endif %} {% endblock %}
{% csrf_token %} {% block form_top %}{% endblock %} {% if adminform.form.instance.is_root %}
The Root node represents the top of the hierarchy. The node's attributes cannot be edited. The node cannot be deleted.
{% endif %}
{% if is_popup %}{% endif %} {% if save_on_top %}{% submit_row %}{% endif %} {% if errors %}

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

    {% for error in adminform.form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% if not adminform.form.instance.is_root %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% else %}
{% endif %} {% block after_field_sets %}{% endblock %} {% with adminform.form.instance as parent %} {% include "admin/pagetree/sectionchildren/edit_inline/stacked.html" %} {% endwith %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% block after_related_objects %}{% endblock %}
{% if not adminform.form.instance.is_root %} {% endif %}
{% if add %} {% endif %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}