<commit_before>- contentr_title @content_block.name
- contentr_navigation do |navbar|
  - navbar.divider
  - @content_block.usages.each do |usage|
    - navbar.link usage.page.name, contentr.admin_page_path(usage.page)

= render 'form'
<commit_msg>display usage links of content_blocks in an accordion<commit_after>- contentr_title @content_block.name
- contentr_navigation do |navbar|
  - navbar.divider

.panel-group
  .panel.panel-default
    .panel-heading
      h4 = link_to t('.usages'), '#content-block-usages', data: {toggle: 'collapse'}
    .panel-collapse.collapse id="content-block-usages"
        - if @content_block.usages.any?
          ul
            - @content_block.usages.each do |usage|
              li
                = link_to usage.page.name, usage.page.url, target: :_blank
        - else
          p = t('.no_usages')
= render 'form'



{'fraction_non_alphanumeric': 0.1207897793263647, 'fraction_numerical': 0.0011614401858304297, 'mean_word_length': 2.797356828193833, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4328656', 'n_tokens_mistral': 287, 'n_tokens_neox': 279, 'n_words': 58}