summaryrefslogtreecommitdiff
path: root/design/templates/comments/form.html
blob: dcb83d413fe9f5bf28404c5394e8cd4a12a15c60 (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--wrapper">
<p class="comment--form--header">Your thoughts? Please leave a reply:</p>
<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 %}
      <div>{{ field }}</div>
    {% else %}
      {% if field.errors %}{{ field.errors }}{% endif %}
      <p
        {% if field.errors %} class="error"{% endif %}
        {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
        {{ field.label_tag }} {{ field }}
      </p>
    {% endif %}
  {% endfor %}
  <p class="submit">
    <input type="submit" name="post" class="submit-post" value="{% trans "Post" %}" />
    <input type="submit" name="preview" class="submit-preview" value="{% trans "Preview" %}" />
  </p>
</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>