<commit_before><div style="display:none">
    <div id="signature_popup_content" class="popup_contenu">
        <h2>Veuillez confirmer la signature du contrat </h2>
        <div class="ligne_btn">
          <?php if($vrac->isBio() && $etablissementPrincipal->isNegociant()): ?>
            <input name="popup_validation_bio_ecocert" id="popup_validation_bio_ecocert" type="checkbox" style="margin:0; vertical-align: bottom;  position: relative; top: -1px">
            <label for="popup_validation_bio_ecocert" style="font-weight:bold;" >&nbsp;j'ai le certificat Ecocert du vendeur</label>
          <?php endif; ?>
          <?php if($vrac->isBio() && $etablissementPrincipal->isViticulteur() && (!$vrac->hasBioEcocert())): ?>
            <input name="engagement_bio_ecocert" id="engagement_bio_ecocert" type="checkbox" style="margin:0; vertical-align: bottom;  position: relative; top: -1px">
            <label for="engagement_bio_ecocert" style="font-weight:bold;" >&nbsp;Je m'engage à fournir à l'acheteur le certificat Ecocert</label>
          <?php endif; ?>
        </div>
        <br/>
        <div class="ligne_btn">
            <a id="signature_popup_close" class="btn_rouge btn_majeur annuler" style="float: left;" href="#" >Annuler</a>
            <?php if (isset($validation) && $validation): ?>
              <button id="signature_popup_confirm" type="submit" class="btn_validation" ><span>Signer le contrat</span></button>
            <?php else : ?>
              <?php if($vrac->isBio() && $etablissementPrincipal->isViticulteur() && (!$vrac->hasBioEcocert())) : ?>
                  <div class="ecocert_not_confirmed" >
                    <button class="btn_majeur" style="opacity:0.5; float: right;" disabled="disabled" ><span>Signer le contrat</span></button>
                  </div>
                  <div class="ecocert_confirmed" style="display:none;">
                    <a id="signature_popup_confirm" href="<?php echo url_for('vrac_signature', $vrac) ?>" class="btn_validation" ><span>Signer le contrat</span></a>
                  </div>
              <?php else : ?>
                <a id="signature_popup_confirm" data-lien="<?php echo url_for('vrac_signature', $vrac) ?>" href="<?php echo url_for('vrac_signature', $vrac) ?>" class="btn_validation <?php echo ($vrac->isBio() && $etablissementPrincipal->isNegociant())? "ecocert_negociant" : ""?>" ><span>Signer le contrat</span></a>
              <?php endif; ?>
            <?php endif; ?>
        </div>
    </div>
</div>
<commit_msg>majuscule à la phase<commit_after><div style="display:none">
    <div id="signature_popup_content" class="popup_contenu">
        <h2>Veuillez confirmer la signature du contrat </h2>
        <div class="ligne_btn">
          <?php if($vrac->isBio() && $etablissementPrincipal->isNegociant()): ?>
            <input name="popup_validation_bio_ecocert" id="popup_validation_bio_ecocert" type="checkbox" style="margin:0; vertical-align: bottom;  position: relative; top: -1px">
            <label for="popup_validation_bio_ecocert" style="font-weight:bold;" >&nbsp;J'ai le certificat Ecocert du vendeur</label>
          <?php endif; ?>
          <?php if($vrac->isBio() && $etablissementPrincipal->isViticulteur() && (!$vrac->hasBioEcocert())): ?>
            <input name="engagement_bio_ecocert" id="engagement_bio_ecocert" type="checkbox" style="margin:0; vertical-align: bottom;  position: relative; top: -1px">
            <label for="engagement_bio_ecocert" style="font-weight:bold;" >&nbsp;Je m'engage à fournir à l'acheteur le certificat Ecocert</label>
          <?php endif; ?>
        </div>
        <br/>
        <div class="ligne_btn">
            <a id="signature_popup_close" class="btn_rouge btn_majeur annuler" style="float: left;" href="#" >Annuler</a>
            <?php if (isset($validation) && $validation): ?>
              <button id="signature_popup_confirm" type="submit" class="btn_validation" ><span>Signer le contrat</span></button>
            <?php else : ?>
              <?php if($vrac->isBio() && $etablissementPrincipal->isViticulteur() && (!$vrac->hasBioEcocert())) : ?>
                  <div class="ecocert_not_confirmed" >
                    <button class="btn_majeur" style="opacity:0.5; float: right;" disabled="disabled" ><span>Signer le contrat</span></button>
                  </div>
                  <div class="ecocert_confirmed" style="display:none;">
                    <a id="signature_popup_confirm" href="<?php echo url_for('vrac_signature', $vrac) ?>" class="btn_validation" ><span>Signer le contrat</span></a>
                  </div>
              <?php else : ?>
                <a id="signature_popup_confirm" data-lien="<?php echo url_for('vrac_signature', $vrac) ?>" href="<?php echo url_for('vrac_signature', $vrac) ?>" class="btn_validation <?php echo ($vrac->isBio() && $etablissementPrincipal->isNegociant())? "ecocert_negociant" : ""?>" ><span>Signer le contrat</span></a>
              <?php endif; ?>
            <?php endif; ?>
        </div>
    </div>
</div>

{'fraction_non_alphanumeric': 0.169605706360214, 'fraction_numerical': 0.0031702001188825043, 'mean_word_length': 3.242016806722689, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 129, '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': '1696758', 'n_tokens_mistral': 1645, 'n_tokens_neox': 1606, 'n_words': 307}