{% extends "wagtailadmin/base.html" %}
{% load i18n modeladmin_tags %}
{% block titletag %}{{ view.get_meta_title }}{% endblock %}

{% block content %}

    {% block header %}
        {% include "wagtailadmin/shared/header.html" with title=view.get_page_title subtitle=view.get_page_subtitle icon=view.header_icon %}
    {% endblock %}

    {% block content_main %}
        <div class="nice-padding">
            <p>{{ view.confirmation_message }}</p>
            <form action="{{ view.duplicate_url }}" method="POST">
                {% csrf_token %}
                <input type="submit" value="{% trans 'Yes, duplicate' %}" class="button button-secondary" />
                <a href="{{ view.index_url }}" class="button serious">{% trans "No, don't duplicate" %}</a>
            </form>
        </div>
    {% endblock %}

{% endblock %}