{% extends "wagtailadmin/pages/edit.html" %}
{% load i18n l10n %}
{% block extra_footer_actions %}
{% if not page.LIVEPREVIEW_DISABLED %}
{# Live preview is enabled #}
{% trans 'Live Preview' %}
{% trans 'Autosave' %}
{% else %}
{# Live preview is disabled. Add the regular Preview button #}
{% trans 'Preview' as preview_label %}
{% include "wagtailadmin/pages/_preview_button_on_edit.html" with label=preview_label icon=1 %}
{% endif %}
{% endblock extra_footer_actions %}