{% 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 %} {% with original.get_absolute_url as preview_url %} {% if preview_draft_btn and preview_url %} Preview draft {% endif %} {% endwith %}
{% endif %} {% endblock %}