{% extends 'base.html' %}

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