<commit_before><div class="card bg-mdb-color-lighten-5">
  <div class="card-header bg-mdb-color-lighten-4">
    <h5>
      <%= t('content') %>
    </h5>
  </div>
  <div class="card-body">
    <div class="mb-2">
      <%= t('basics.details') %>
      <%= helpdesk(t('admin.section.info.details'), false) %>
    </div>
    <%= f.trix_editor :details,
                      class: 'bg-light',
                      id: 'section-details-trix' %>
    <div class="row my-2">
      <div class="col-12">
        <%= t('basics.preview') %>
      </div>
    </div>
    <div class="alert alert-dark bg-mdb-color-lighten-6"
         id="section-details-preview">
        <%= raw(section.details) %>
      </div>
    <div class="row mb-2">
      <div class="col-12">
        <%= t('admin.section.extracted_content') %>
        <%= helpdesk(t('admin.section.info.extracted_content'), false) %>
      </div>
    </div>
    <div class="row">
      <div class="col-12">
        <%= render partial: 'items/items',
                   locals: { items: @section.visible_items,
                             small: false,
                             embedded: true,
                             section_links: false,
                             content: [] } %>
      </div>
    </div>
  </div>
</div><commit_msg>layout change for section edit<commit_after><div class="card bg-mdb-color-lighten-5">
  <div class="card-header bg-mdb-color-lighten-4">
    <h5>
      <%= t('content') %>
    </h5>
  </div>
  <div class="card-body">
    <div class="mb-2">
      <%= t('basics.details') %>
      <%= helpdesk(t('admin.section.info.details'), false) %>
    </div>
    <%= f.trix_editor :details,
                      class: 'bg-light',
                      id: 'section-details-trix' %>
    <div class="row my-2">
      <div class="col-12">
        <%= t('basics.preview') %>
      </div>
    </div>
    <div class="alert alert-dark bg-mdb-color-lighten-6"
         id="section-details-preview">
        <%= raw(section.details) %>
      </div>
    <div class="row mb-2">
      <div class="col-12">
        <%= t('admin.section.extracted_content') %>
        <%= helpdesk(t('admin.section.info.extracted_content'), false) %>
      </div>
    </div>
    <div class="row">
      <div class="col-12">
        <%= render partial: 'items/items',
                   locals: { items: @section.visible_items,
                             small: true,
                             embedded: true,
                             section_links: false,
                             content: [] } %>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.18769230769230769, 'fraction_numerical': 0.010769230769230769, 'mean_word_length': 1.6622313203684749, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '3729457', 'n_tokens_mistral': 892, 'n_tokens_neox': 845, 'n_words': 143}