summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-07-11 02:23:20 +0000
committerubq323 <ubq323>2021-07-11 02:23:20 +0000
commit9c375cff4dc60ef1ff0c512f6da028129430e377 (patch)
treebfaf03317d6242325a5ae768bafbcf3ea3e3ee9d
parent2327776fa7d720f4cf46baa71da78223a185cedc (diff)
somehow view_post.html never actually ended up in the repo????
-rw-r--r--apioforum/templates/view_post.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/apioforum/templates/view_post.html b/apioforum/templates/view_post.html
new file mode 100644
index 0000000..993c005
--- /dev/null
+++ b/apioforum/templates/view_post.html
@@ -0,0 +1,12 @@
+{% from 'common.html' import disp_post %}
+{% extends 'base.html' %}
+{% block header %}
+<h1>{%block title%}viewing post{%endblock%}</h1>
+{% endblock %}
+
+{% block content %}
+{{disp_post(post,False)}}
+<p>post source:</p>
+<textarea readonly class="new-post-box" name="newcontent">{{post.content}}</textarea>
+<a href="{{url_for('thread.view_thread',thread_id=post.thread)}}">i am satisfied</a>
+{% endblock %}