{% extends non_publishing_change_form_template %} {% load i18n admin_modify admin_static admin_urls polymorphic_admin_tags compress publishing_tags %} {% block breadcrumbs %} {% breadcrumb_scope base_opts %} {% endbreadcrumb_scope %} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block submit_buttons_bottom %}
{{ block.super }}
{% if has_publish_permission or preview_draft_btn %}
{% if has_been_published and is_dirty %}

This version is newer than the published version

{% endif %} {% if has_publish_permission %} {% if publish_btn %} Publish {% endif %} {% if unpublish_btn %} Unpublish {% endif %} {% endif %} {% if preview_draft_btn %} Preview draft {% endif %}
{% endif %} {% endblock %}