{% load i18n %}
<form method="post" action="{% url 'permafrost:role-delete' object.slug %}">
    {% csrf_token %}
    <div class="modal-header">
        <h5 class="modal-title font-weight-bold text-gray-900">
            {% trans 'Confirm Delete' %}
        </h5>
        <button type="button" class="close text-success" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
    </div>
    <div class="modal-body" style="overflow-y: auto; max-height: 50vh;">
        <p>{% trans 'Are you sure you want to archive?' %} "{{ object }}"</p>
    </div>
    <div class="modal-footer">
        <a class="text-success font-weight-bold mr-3" data-dismiss="modal" role="button">{% trans 'Cancel' %}</a>
        <button type="submit" class="btn btn-danger font-weight-bold">{% trans 'Archive' %}</button>
    </div>
</form>