{% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static admin_modify bootstrapped_goodies_tags crispy_forms_tags %} {% block extrahead %}{{ block.super }} {% url 'admin:jsi18n' as jsi18nurl %} {{ media }} {% endblock %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} {% block bodyclass %}{{ block.super }} {{ opts.app_label }}-{{ opts.object_model }} change-form{% 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 %}
{% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} {% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} {% crispy adminform.form %} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% include inline_admin_formset.opts.template %} {% endfor %} {% endblock %} {% block after_field_sets %}{% 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 %}
{# {% include "admin/footer_submit.html" %} #} {% endblock %}