From 69f343a831639b1a4e51a832c2e3ce3ad86534c1 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 9 Nov 2019 20:42:41 -0500 Subject: added new style comment form to detail pages --- app/posts/templates/posts/essay_detail.html | 2 ++ app/posts/templates/posts/post_detail.html | 2 ++ 2 files changed, 4 insertions(+) (limited to 'app/posts') diff --git a/app/posts/templates/posts/essay_detail.html b/app/posts/templates/posts/essay_detail.html index 1ef602a..9f8c97b 100644 --- a/app/posts/templates/posts/essay_detail.html +++ b/app/posts/templates/posts/essay_detail.html @@ -96,7 +96,9 @@

{{comment_count}} Comment{{ comment_count|pluralize }}

{% render_comment_list for object %} {%endif%} +
{% render_comment_form for object %} +
{% else %}

Sorry, comments have been disabled for this post.

{%endif%} diff --git a/app/posts/templates/posts/post_detail.html b/app/posts/templates/posts/post_detail.html index 1ef602a..9f8c97b 100644 --- a/app/posts/templates/posts/post_detail.html +++ b/app/posts/templates/posts/post_detail.html @@ -96,7 +96,9 @@

{{comment_count}} Comment{{ comment_count|pluralize }}

{% render_comment_list for object %} {%endif%} +
{% render_comment_form for object %} +
{% else %}

Sorry, comments have been disabled for this post.

{%endif%} -- cgit v1.2.3