{% extends "admin/change_form.html" %} {% load i18n admin_urls static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block page_actions %} {% if change and not is_popup %} {% endif %} {% endblock %} {% block object-tools %}{% endblock %} {% block after_field_sets %} {{ block.super }} {% include "admin/chassis/related_entities.html" %} {% endblock %} {% block submit_buttons_bottom %}
{% if change and has_change_permission %} {% elif add and has_add_permission %} {% elif has_editable_inline_admin_formsets %} {% endif %} {% if not is_popup %} {% url opts|admin_urlname:'changelist' as changelist_url %} {% translate "Назад" %} {% endif %} {% if has_delete_permission and change and original and not is_popup %} {% url opts|admin_urlname:'delete' original.pk|admin_urlquote as delete_url %} {% translate "Delete" %} {% endif %}
{% endblock %}