<commit_before><commit_msg>Add template for comment form so that form is valid XHTML.<commit_after>{% load comments i18n %}
<form action="{% comment_form_target %}" method="post">
  {% for field in form %}
    {% if field.is_hidden %}
      <p style="display:none;">
      {{ field }}
      </p>
    {% else %}
      <p
        {% if field.errors %} class="error"{% endif %}
        {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
        {% if field.errors %}{{ field.errors }}{% endif %}
        {{ 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>
{'fraction_non_alphanumeric': 0.20634920634920634, 'fraction_numerical': 0.002442002442002442, 'mean_word_length': 3.039408866995074, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2825303', 'n_tokens_mistral': 287, 'n_tokens_neox': 257, 'n_words': 66}