{% extends "admin/base_site.html" %}{% load i18n static admin_urls %} {% comment %} The admin chrome both admin pages extend: the admin's own base, its title from the action's label, its forms stylesheet and the form's media, and breadcrumbs back through the changelist and, on an object action, the row. Each page fills ``spec_page`` with the fragment the shipped page includes, so an htmx request is answered with the same form wherever it is served. {% endcomment %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block extrahead %}{{ block.super }}{% if form %}{{ form.media }}{% endif %}{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} spec-action{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %}
{% block spec_page %}{% endblock %}
{% endblock %}