<commit_before>{{ include_javascript('tools/bazar/libs/bazar.js') }}
{{ error|raw }}
<h3 class="titre_type_fiche">{{ _t('BAZ_TITRE_SAISIE_FICHE') }}&nbsp;{{ form.bn_label_nature }}</h3>
<form action="" method="post" name="formulaire" id="formulaire" enctype="multipart/form-data" class="form-horizontal" {% if not showConditions %}novalidate{% endif %}>
  {% if showConditions %}
    {{ form.bn_condition|raw }}
    <div class="checkbox">
      <label>
        <input type="checkbox" required name="accept_condition" value="1">
        {{ _t('BAZ_ACCEPTE_CONDITIONS') }}
      </label>
    </div>
  {% else %}
    {% for renderedInput in renderedInputs %}
      {{ renderedInput|raw }}
    {% endfor %}
  {% endif %}
  {{ captchaField|raw }}
  <div class="form-actions form-group">
    <div class="col-sm-9 col-sm-offset-3">
      <button type="submit" class="btn btn-primary">{{ _t('BAZ_VALIDER') }}</button>
      <a class="btn btn-xs btn-default" onclick="javascript:history.back()">{{ _t('BAZ_ANNULER') }}</a>
    </div>
  </div><commit_msg>fix(Entry/Form): maintain 'accept_condition' when reloading entry form<commit_after>{{ include_javascript('tools/bazar/libs/bazar.js') }}
{{ error|raw }}
<h3 class="titre_type_fiche">{{ _t('BAZ_TITRE_SAISIE_FICHE') }}&nbsp;{{ form.bn_label_nature }}</h3>
<form action="" method="post" name="formulaire" id="formulaire" enctype="multipart/form-data" class="form-horizontal" {% if not showConditions %}novalidate{% endif %}>
  {% if showConditions %}
    {{ form.bn_condition|raw }}
    <div class="checkbox">
      <label>
        <input type="checkbox" required name="accept_condition" value="1">
        {{ _t('BAZ_ACCEPTE_CONDITIONS') }}
      </label>
    </div>
  {% else %}
    {% if form.bn_condition is not empty %}
      <input type="hidden" required name="accept_condition" value="1">
    {% endif %}
    {% for renderedInput in renderedInputs %}
      {{ renderedInput|raw }}
    {% endfor %}
  {% endif %}
  {{ captchaField|raw }}
  <div class="form-actions form-group">
    <div class="col-sm-9 col-sm-offset-3">
      <button type="submit" class="btn btn-primary">{{ _t('BAZ_VALIDER') }}</button>
      <a class="btn btn-xs btn-default" onclick="javascript:history.back()">{{ _t('BAZ_ANNULER') }}</a>
    </div>
  </div>
{'fraction_non_alphanumeric': 0.1957857769973661, 'fraction_numerical': 0.004828797190517998, 'mean_word_length': 4.203196347031963, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 36, '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': '4427062', 'n_tokens_mistral': 828, 'n_tokens_neox': 778, 'n_words': 146}