summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
Diffstat (limited to 'design')
-rw-r--r--design/templates/details/page.html2
-rw-r--r--design/templates/essays/essay_detail.html2
-rw-r--r--design/templates/src/post_detail.html2
3 files changed, 6 insertions, 0 deletions
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 @@
<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>
{%endif%}
</main>
{% 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 @@
<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%}
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 @@
<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%}