summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/delete_post.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/delete_post.html')
-rw-r--r--apioforum/templates/delete_post.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/apioforum/templates/delete_post.html b/apioforum/templates/delete_post.html
new file mode 100644
index 0000000..6f99704
--- /dev/null
+++ b/apioforum/templates/delete_post.html
@@ -0,0 +1,17 @@
+{% from 'common.html' import disp_post %}
+{% extends 'base.html' %}
+{% block header %}
+<h1>{% block title %}deleting post{% endblock %}</1h>
+{% endblock %}
+
+{% block content %}
+{% call disp_post(post, False) %}
+{{ rendered_content | safe }}
+{% endcall %}
+
+<form method="post">
+<p>confirm delete?</p>
+<input type="submit" value="delete">
+<a href="{{url_for('thread.view_thread',thread_id=post.thread)}}">cancel</a>
+</form>
+{% endblock %}