summaryrefslogtreecommitdiffstats
path: root/templates/todolists/todolist_confirm_delete.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/todolists/todolist_confirm_delete.html')
-rw-r--r--templates/todolists/todolist_confirm_delete.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/todolists/todolist_confirm_delete.html b/templates/todolists/todolist_confirm_delete.html
new file mode 100644
index 0000000..bfa3dba
--- /dev/null
+++ b/templates/todolists/todolist_confirm_delete.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div class="greybox">
+ <h2 class="title">Confirm Delete</h2>
+ <p>
+ Are you sure you want to delete this todo list?
+ </p>
+ <div class="box">
+ <h3>{{object.name}}</h3>
+ <p>
+ {{object.description}}
+ </p>
+ </div>
+ <br />
+ <form method="POST">
+ <input type="submit" value="Yes" />
+ <button type="reset" value="No"
+ onclick="document.location='/todos/{{object.id}}/';">No</button>
+ </form>
+
+
+ </div>
+{% endblock %}