{% extends "wagtailadmin/base.html" %}
{% load i18n %}
{% block titletag %}{% blocktrans with title=media.title %}Delete {{ title }}{% endblocktrans %}{% endblock %}
{% block content %}
    {% trans "Delete media file" as del_str %}
    {% include "wagtailadmin/shared/header.html" with title=del_str subtitle=media.title icon="media" %}

    <div class="nice-padding">
        <p>{% trans "Are you sure you want to delete this media file?" %}</p>
        <form action="{% url 'wagtailmedia:delete' media.id %}" method="POST" novalidate>
            {% csrf_token %}
            <input type="submit" value='{% trans "Yes, delete" %}' class="button serious" />
        </form>
    </div>
{% endblock %}
