summaryrefslogtreecommitdiff
path: root/app/posts
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-11-09 20:36:25 -0500
committerluxagraf <sng@luxagraf.net>2019-11-09 20:36:25 -0500
commit11b2a604c965badef0de64c9f6e6becab455015b (patch)
treea0275e602187aa469060c3d8b11955fa534c34a9 /app/posts
parent48937d27a1de25b8c03bc8051d3393d6c69b3867 (diff)
added comment wrapper to guides
Diffstat (limited to 'app/posts')
-rw-r--r--app/posts/templates/posts/guide_detail.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/posts/templates/posts/guide_detail.html b/app/posts/templates/posts/guide_detail.html
index 360480b..df87158 100644
--- a/app/posts/templates/posts/guide_detail.html
+++ b/app/posts/templates/posts/guide_detail.html
@@ -105,7 +105,9 @@
<p class="comments--header">{{comment_count}} Comment{{ comment_count|pluralize }}</p>
{% render_comment_list for object %}
{%endif%}
+<div class="comment--form--wrapper {%if comment_count > 0%}comment-form-border{%endif%}">
{% render_comment_form for object %}
+</div>
{% else %}
<p class="comments--header" style="text-align: center">Sorry, comments have been disabled for this post.</p>
{%endif%}