summaryrefslogtreecommitdiff
path: root/app/gtd/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/gtd/templates')
-rw-r--r--app/gtd/templates/gtd/confirm_delete.html12
-rw-r--r--app/gtd/templates/gtd/note_list.html1
-rw-r--r--app/gtd/templates/gtd/project_list.html1
3 files changed, 14 insertions, 0 deletions
diff --git a/app/gtd/templates/gtd/confirm_delete.html b/app/gtd/templates/gtd/confirm_delete.html
new file mode 100644
index 0000000..8e657b1
--- /dev/null
+++ b/app/gtd/templates/gtd/confirm_delete.html
@@ -0,0 +1,12 @@
+<form method="post">{% csrf_token %}
+
+
+
+
+<p>Are you sure you want to delete "{{ object }}"?</p>
+
+
+
+
+ <input type="submit" value="Confirm">
+</form>
diff --git a/app/gtd/templates/gtd/note_list.html b/app/gtd/templates/gtd/note_list.html
index 2e4ea0a..203906b 100644
--- a/app/gtd/templates/gtd/note_list.html
+++ b/app/gtd/templates/gtd/note_list.html
@@ -13,6 +13,7 @@
<p>{{object.body_markdown}}</p>
<p class="small">For: <a href="/post/{{object.post.pk}}/notes">{{object.post}}</a></p>
<p class="small">Status: <a href="/post/{{object.post.pk}}/notes">{{object.get_status_display}}</a></p>
+ <p class="small"><a href="{% url 'gtd:note-delete' object.pk %}">delete</a></p>
</article>
{% endfor%}</div>
</main>
diff --git a/app/gtd/templates/gtd/project_list.html b/app/gtd/templates/gtd/project_list.html
index a37f4e8..cba8944 100644
--- a/app/gtd/templates/gtd/project_list.html
+++ b/app/gtd/templates/gtd/project_list.html
@@ -13,6 +13,7 @@
<p>{{object.body_markdown}}</p>
<p class="small">Date Goal: {{object.date_goal}}</p>
<p class="small">Type: {{object.get_project_type_display}}</p>
+ <p class="small"><a href="{% url 'gtd:project-delete' object.pk %}">delete</a></p>
</article>
{% endfor%}</div>
</main>