From a035c997f5479a027a6cfe4f94cf87d67bac30d9 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 15 Jan 2021 18:59:14 -0500 Subject: posts: fixed src tempate to use updated comment form names --- app/posts/templates/posts/src_detail.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'app/posts') diff --git a/app/posts/templates/posts/src_detail.html b/app/posts/templates/posts/src_detail.html index 179bb68..675531c 100644 --- a/app/posts/templates/posts/src_detail.html +++ b/app/posts/templates/posts/src_detail.html @@ -94,20 +94,21 @@ {%endif%} - {% if object.slug != 'about' %} {% if object.enable_comments %} {% get_comment_count for object as comment_count %} {%if comment_count > 0 %} -

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

+
+

{{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%} -{%endif%} +
+ {% endblock %} {% block js %}