{% extends "wagtailadmin/base.html" %}
{% load i18n %}
{% block titletag %}{% blocktrans trimmed with title=object_display_title %}Unschedule Revision {{ revision.id }} for {{ title }}{% endblocktrans %}{% endblock %}
{% block content %}
    {% include "wagtailadmin/shared/header.html" with title=_("Unschedule") subtitle=subtitle icon=header_icon %}

    <div class="nice-padding">
        <p>{% trans "Are you sure you want to unschedule this revision?" %}</p>
        <form action="{{ revisions_unschedule_url }}" method="POST">
            {% csrf_token %}
            <input type="hidden" name="next" value="{{ next }}">
            <ul class="fields">
                <li>
                    <input type="submit" value="{% trans 'Yes, unschedule' %}" class="button">
                    <a href="{{ next_url }}" class="button button-secondary">{% trans "No, don't unschedule" %}</a>
                </li>
            </ul>
        </form>
    </div>
{% endblock %}
