{% extends change_form_template_extends %} {% load i18n admin_modify %} {% load static %} {% block extrahead %} {{ block.super }} {% url 'admin:jsi18n' as jsi18nurl %} {% if has_sortable_tabular_inlines or has_sortable_stacked_inlines %} {% include 'adminsortable/csrf/jquery.django-csrf.html' with csrf_cookie_name=csrf_cookie_name %} {% endif %} {% if has_sortable_tabular_inlines %} {% include 'adminsortable/edit_inline/admin.sortable.tabular.inlines.html' with after_sorting_js_callback_name=after_sorting_js_callback_name %} {% endif %} {% if has_sortable_stacked_inlines %} {% include 'adminsortable/edit_inline/admin.sortable.stacked.inlines.html' with after_sorting_js_callback_name=after_sorting_js_callback_name %} {% endif %} {% endblock %} {% block extrastyle %} {{ block.super }} {% if has_sortable_tabular_inlines or has_sortable_stacked_inlines %} {% endif %} {% endblock %} {% block after_related_objects %}{{ block.super }} {% endblock %}