summaryrefslogtreecommitdiff
path: root/templates/comments/form.html
blob: fba222b7612129324d58fe1a395b1f9afdae9060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 %}{% if field.name == "honeypot" %}honeypot{% endif%}">
        {{ field.label_tag }}
        {%if field.name == "comment"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endif%}
  </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>