{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify bootstrapped_goodies_tags %} {% load form_helpers %} {% load helpers %} {% block extrahead %}{{ block.super }} {% url 'admin:jsi18n' as jsi18nurl %} {{ media }} {% endblock %} {% block extrastyle %}{{ block.super }}{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block object-tools %} {% if change %} {% if not is_popup %} {% endif %} {% endif %} {% endblock %} {% block content %} {% with module_name=opts.model_name|lower|slugify %} {% render_with_template_if_exist opts.app_label|lower|add:"/admin_model_"|add:module_name|add:"_change_form.html" "" %} {% endwith %}
{% csrf_token %} {% block form_top %}{% endblock %}
{% blocktrans %}Fields in bold are required.{% endblocktrans %}
{% if errors %}
{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %} {{ adminform.form.non_field_errors }}
{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %}
{% if is_popup %}{% endif %} {% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" with group_column_width=adminform|form_fieldset_column_width %} {% 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 %}
{% block submit_buttons_bottom %}{% submit_row %}{% endblock %}
{% endblock %}