summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/comments/form.html3
-rw-r--r--design/templates/jrnl/entry_detail.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/design/templates/comments/form.html b/design/templates/comments/form.html
index d7e5ee3..eaebada 100644
--- a/design/templates/comments/form.html
+++ b/design/templates/comments/form.html
@@ -1,5 +1,4 @@
{% load comments i18n %}
-<div class="comment--form--wrapper">
<div class="comment--form--header">
<p class="hed">Thoughts?</p>
<p class="subhed">Please leave a reply:</p>
@@ -23,4 +22,4 @@
</div>
</form>
<p style="font-size: 95%;"><strong>All comments are moderated</strong>, so you won&#8217;t see it right away. And please remember Kurt Vonnegut's rule: &#8220;god damn it, you&#8217;ve got to be kind.&#8221; You can use Markdown or HTML to format your comments. The allowed tags are <code>&lt;b&gt;, &lt;i&gt;, &lt;em&gt;, &lt;strong&gt;, &lt;a&gt;</code>. To create a new paragraph hit return twice. </p>
-</div>
+
diff --git a/design/templates/jrnl/entry_detail.html b/design/templates/jrnl/entry_detail.html
index fd7e05a..b676ba5 100644
--- a/design/templates/jrnl/entry_detail.html
+++ b/design/templates/jrnl/entry_detail.html
@@ -156,7 +156,9 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i
<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%}