<commit_before>{%- from 'macros/forms.html' import form_buttons %}


  {%- set example_form -%}
<form>

  <div class="form-row-simple">
    <label class="form-label" for="field1">Field #1</label>
    <input class="form-control" id="field1" name="field1">
  </div>
  <div class="form-row-simple erroneous">
    <label class="form-label" for="field2">Field #2</label>
    <input class="form-control" id="field2" name="field2">
    <ol class="errors">
      <li><strong>Error:</strong> <span>Your answer must be in the form of a question. (<a href="#">More on this.</a>)</span></li>
    </ol>
  </div>
  <div class="form-row-simple">
    <label class="form-label" for="field3">Field #3</label>
    <textarea class="form-control" id="field3" name="field1"></textarea>
  </div>
  <div class="form-row-simple">
    <label class="form-check-label"><input name="check_it" type="checkbox"> Tick, tick, tick, tick.</label>
  </div>

  {{ form_buttons('Do it!', cancel_url='#') }}

</form><commit_msg>Extend form example in style guide<commit_after>{%- from 'macros/forms.html' import form_buttons %}


  {%- set example_form -%}
<form>

  <div class="form-row-simple">
    <label class="form-label" for="field1">Field #1</label>
    <input class="form-control" id="field1" name="field1">
  </div>

  <div class="row">
    <div class="column-auto">

      <div class="form-row-simple erroneous">
        <label class="form-label" for="field2">Field #2</label>
        <input class="form-control" id="field2" name="field2">
        <ol class="errors">
          <li><strong>Error:</strong> <span>Your answer must be in the form of a question. (<a href="#">More on this.</a>)</span></li>
        </ol>
      </div>

    </div>
    <div class="column-auto column-auto--grow">

      <div class="form-row-simple">
        <label class="form-label" for="field3">Field #3</label>
        <input class="form-control" id="field3" name="field3">
      </div>

    </div>
  </div>

  <div class="form-row-simple">
    <label class="form-label" for="field4">Field #4</label>
    <textarea class="form-control" id="field4" name="field4"></textarea>
  </div>

  <div class="form-row-simple">
    <label class="form-check-label"><input name="check_it" type="checkbox"> Tick, tick, tick, tick.</label>
  </div>

  {{ form_buttons('Do it!', cancel_url='#') }}

</form>
{'fraction_non_alphanumeric': 0.21016659547202052, 'fraction_numerical': 0.01196070055531824, 'mean_word_length': 3.7408906882591095, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 0, '>': 80, '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': '7063566', 'n_tokens_mistral': 829, 'n_tokens_neox': 797, 'n_words': 175}