{% extends 'base.html' %}

{% block content %}
<h1>Delete object_name</h1>
<form method="POST" action="{% url 'object_url-delete' object.pk %}">
    {% csrf_token %}
    <p>Are you sure you want to delete "{{ object }}"?</p>
    {{ form.as_p }}
    <p>
        <input type="submit" value="Delete"> or <a href="{% url 'object_url-detail' object.pk %}">cancel</a>
    </p>
</form>
{% endblock %}
