13 lines
397 B
HTML
13 lines
397 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<article>
|
|
<h1>Delete {{todo}}</h1>
|
|
<form method="post" action="{% url 'todo-delete' todo.pk %}">
|
|
{% csrf_token %}
|
|
<p>
|
|
<input class="action-button action-delete" type="submit" value="Confirm Delete {{todo}}"> or <a href="{% url 'todo-detail' todo.pk %}">cancel</a>
|
|
</p>
|
|
</form>
|
|
</article>
|
|
{% endblock %} |