{% extends "admin/base_site_nav.html" %} {% load i18n admin_modify %} {% block extrahead %}{{block.super}} {{media}} {% endblock %} {% block extrastyle %} {{block.super}}{% endblock %} {% block content_title %} {% comment %}Translators: Translation included with Django {% endcomment %}
{% if title %}

{{title|escape}}: {% trans "edit"|capfirst|force_escape %}

{% endif %} {% if object_id %}{% tabs opts %}{% endif %}
{% endblock %} {% block content %}
{% csrf_token %}{% block form_top %}{% endblock %} {% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} {% if errors %}
{% comment %}Translators: Translation included with Django {% endcomment %} {% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %} {% comment %}Translators: Translation included with Django {% endcomment %} {% trans "Please correct the errors below." %}{% endif %} {{ adminform.form.non_field_errors }}
{% endif %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %} {% block after_field_sets %}{% endblock %} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% endblock %} {% block after_related_objects %}{% endblock %} {% block admin_change_form_document_ready %} {% endblock %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}