<commit_before>-load comments i18n

%form{id: "comment", action: "{% comment_form_target %}", method: "post"}
  -csrf_token
  -if next
    %div
      %input{type: "hidden", name: "next", value: "{{ next }}"}
  -for field in form
    -if field.is_hidden
      <div>{{ field }}</div>
    -else
      -if field.errors
        =field.errors
      %p
        -if field.errors
          class="error"{% endif %}
        -ifequal field.name "honeypot"
          style="display:none;"
        -ifequal field.name "email"
          style="display:none;"
        -ifequal field.name "name"
          style="display:none;"
        {{ field.label_tag }} {{ field }}
  %p.submit
    %input.submit-post{type: "submit", name: "post", value: '{% trans "Post" %}'}
    %input.submit-preview{type: "submit", name: "preview", value: '{% trans "Preview" %}'}<commit_msg>[fix] syntaxe error in form.haml<commit_after>-load comments i18n

%form{id: "comment", action: "{% comment_form_target %}", method: "post"}
  -csrf_token
  -if next
    %div
      %input{type: "hidden", name: "next", value: "{{ next }}"}
  -for field in form
    -if field.is_hidden
      %div
        =field
    -else
      -if field.errors
        =field.errors
      <p
        {% if field.errors %} class="error"{% endif %}
        {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}
        {% ifequal field.name "email" %} style="display:none;"{% endifequal %}
        {% ifequal field.name "name" %} style="display:none;"{% endifequal %}>
        {{ field.label_tag }} {{ field }}
      </p>
  %p.submit
    %input.submit-post{type: "submit", name: "post", value: '{% trans "Post" %}'}
    %input.submit-preview{type: "submit", name: "preview", value: '{% trans "Preview" %}'}
{'fraction_non_alphanumeric': 0.1867881548974943, 'fraction_numerical': 0.002277904328018223, 'mean_word_length': 2.6757322175732217, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6528295', 'n_tokens_mistral': 608, 'n_tokens_neox': 575, 'n_words': 139}