<commit_before># extends 'base.html'
# import 'macro/forms.html' as forms

# block content
<div class="page-header">
    <h1>{{title}}</h1>
  </div>
  <div class="row">
    <div class="col-md-4">
      <form method="POST" action="." novalidate>
        <fieldset>
          {{form.csrf_token}}
          {{forms.text_field(form.code, autofocus=True)}}
          {{forms.text_field(form.name)}}
          {{forms.date_field(form.date_for)}}
          {{forms.date_field(form.date_paid)}}
          {{forms.number_field(form.amount)}}
          <button type="submit" class="btn btn-primary btn-block btn-loading" data-loading-text="Please wait..">
            # if pay_db.key.id()
              Update
            # else
              Create
            # endif
          </button>
          {{forms.checkbox_field(form.add_more)}}
        </fieldset>
      </form>
    </div>
  </div>
# endblock<commit_msg>Add more added only in new records<commit_after># extends 'base.html'
# import 'macro/forms.html' as forms

# block content
<div class="page-header">
    <h1>{{title}}</h1>
  </div>
  <div class="row">
    <div class="col-md-4">
      <form method="POST" action="." novalidate>
        <fieldset>
          {{form.csrf_token}}
          {{forms.text_field(form.code, autofocus=True)}}
          {{forms.text_field(form.name)}}
          {{forms.date_field(form.date_for)}}
          {{forms.date_field(form.date_paid)}}
          {{forms.number_field(form.amount)}}
          # if pay_db.key.id()
          <button type="submit" class="btn btn-primary btn-block btn-loading" data-loading-text="Please wait..">
            Update
          </button>
          # else
          <button type="submit" class="btn btn-primary btn-block btn-loading" data-loading-text="Please wait..">
            Create
          </button>
          {{forms.checkbox_field(form.add_more)}}
          # endif
        </fieldset>
      </form>
    </div>
  </div>
# endblock
{'fraction_non_alphanumeric': 0.16411042944785276, 'fraction_numerical': 0.003067484662576687, 'mean_word_length': 2.1666666666666665, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '7640117', 'n_tokens_mistral': 623, 'n_tokens_neox': 610, 'n_words': 114}