summaryrefslogtreecommitdiff
path: root/templates/comments/form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comments/form.html')
-rw-r--r--templates/comments/form.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/comments/form.html b/templates/comments/form.html
new file mode 100644
index 0000000..b70862f
--- /dev/null
+++ b/templates/comments/form.html
@@ -0,0 +1,25 @@
+{% load comments i18n %}
+<div class="comment-form-header">
+ <p class="hed">Thoughts?</p>
+ <p class="subhed">Please leave a reply:</p>
+</div>
+<form action="{% comment_form_target %}" method="post" class="comment-form">
+ {% if next %}<div><input type="hidden" name="next" value="{{ next }}" /></div>{% endif %}
+<input type="hidden" name="rder" value="{{ form.instance.content_object.get_absolute_url }}" />
+ {% for field in form %}
+ {% if field.is_hidden %}
+ {{ field }}
+ {% else %}
+ <fieldset class="{% if field.errors %} error{% endif %} {% ifequal field.name "honeypot" %} honeypot"{% endifequal %}">
+ {{ field.label_tag }}
+ {%ifequal field.name "comment"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endifequal%}
+ </fieldset>
+ {% endif %}
+ {% endfor %}
+ <div class="submit">
+ <input type="submit" name="preview" class="submit-preview btn" value="{% trans "Preview" %}" />
+ <input type="submit" name="post" class="submit-post btn" value="{% trans "Post" %}" />
+ </div>
+</form>
+<p style="font-size: 75%;"><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>
+