1 {% load comments i18n %}
 
   2 <div class="comment-form">
 
   3 <h2 class="section">{% trans "Add comment" %}</h2>
 
   4 <form class="submit-form" action="{% comment_form_target %}" method="post">{% csrf_token %}
 
   5   {% if next %}<input type="hidden" name="next" value="{{ next }}" />{% endif %}
 
   6   {% for field in form %}
 
   7     {% if field.is_hidden %}
 
  12   {% for field in form %}
 
  13     {% if not field.is_hidden %}
 
  15         {% if field.name == "honeypot" %} style="display:none;"{% endif %}>
 
  16         <th>{{ field.label_tag }}
 
  18         {% if field.errors %}<p class="error">{{ field.errors }}</p>{% endif %}
 
  24     <button type="submit" name="post" class="submit-post">{% trans "Post" %}</button>
 
  25     <button type="submit" name="preview" class="submit-preview">{% trans "Preview" %}</button>