{% load bootstrap3 %}
{% load i18n %}

{% include 'editor/fragment_modal_close.html' %}
<h3>{% blocktrans %}Delete {{ model_title }}{% endblocktrans %}</h3>
<form action="{{ request.path }}" data-keep-geometry method="post">
    {% csrf_token %}
    <p>{% blocktrans %}Please confirm deleting: {{ obj_title }}{% endblocktrans %}</p>
    <input type="hidden" name="delete" value="1">
    <input type="hidden" name="pk" value="{{ pk }}">
    {% buttons %}
    <button class="invisiblesubmit" type="submit"></button>
    <a class="btn btn-default" href="{{ request.path }}">
        {% trans 'Cancel' %}
    </a>
    <button type="submit" name="delete_confirm" value="1" class="btn btn-danger pull-right" data-reload-geometries>
        {% trans 'Delete' %}
    </button>
    {% endbuttons %}
</form>
