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 --- design/templates/details/page.html | 2 ++ design/templates/essays/essay_detail.html | 2 ++ design/templates/src/post_detail.html | 2 ++ 3 files changed, 6 insertions(+) (limited to 'design') diff --git a/design/templates/details/page.html b/design/templates/details/page.html index a98f1c4..bb80a72 100644 --- a/design/templates/details/page.html +++ b/design/templates/details/page.html @@ -27,7 +27,9 @@

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

{% render_comment_list for object %} {%endif%} +
{% render_comment_form for object %} +
{%endif%} {% endblock %} diff --git a/design/templates/essays/essay_detail.html b/design/templates/essays/essay_detail.html index 1ef602a..9f8c97b 100644 --- a/design/templates/essays/essay_detail.html +++ b/design/templates/essays/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/design/templates/src/post_detail.html b/design/templates/src/post_detail.html index 0b80635..fb1bde0 100644 --- a/design/templates/src/post_detail.html +++ b/design/templates/src/post_detail.html @@ -68,7 +68,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-70-g09d2