{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify dashub %} {% get_dashub_settings request as dashub_settings %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block extrahead %} {{ block.super }} {{ media }} {% endblock %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content_title %} {{ opts.verbose_name_plural|capfirst }} {% endblock %} {% block page_actions %} {% block object-tools %} {% if change %} {% if not is_popup %}
{% block object-tools-items %} {% change_form_object_tools %} {% block extra_actions %}{% endblock %} {% endblock %}
{% endif %} {% endif %} {% endblock %} {% endblock %} {% block content %}
{% csrf_token %} {% block form_top %}{% endblock %} {% if errors %}
{% if errors|length == 1 %} {% trans "Please correct the error below." %} {% else %} {% trans "Please correct the errors below." %} {% endif %}
{% for error in adminform.form.non_field_errors %}
{{ error|capfirst }}
{% endfor %} {% endif %}
{% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% block field_sets %}
{% get_changeform_template adminform as changeform_template %} {% include changeform_template %}
{% endblock %} {% block after_field_sets %}{% endblock %} {% block inline_field_sets %}{% endblock %} {% block after_related_objects %}{% endblock %} {% block admin_change_form_document_ready %} {% endblock %} {% prepopulated_fields_js %}
{% block submit_buttons_bottom %} {% submit_row %} {% endblock %}
{% endblock %} {% block extrajs %} {{ block.super }} {% if dashub_settings.related_modal_active %} {% endif %} {% endblock %}