<commit_before>.row
  .col-md-12
    .page-header
      %h1 Organizations
      .btn-group.pull-right
        = link_to 'Create Organization', new_admin_organization_path, class: 'btn btn-success pull-right'
      %p.text-muted
        Manage organizations in OSEM
  .row
    .col-md-12
      %table.table.table-hover.datatable
        %thead
          %th Name
          %th Upcoming Conferences
          %th Past Conferences
          %th Actions
        %tbody
          - @organizations.each do |organization|
            %tr
              %td
                = organization.name
              %td
                = organization.conferences.count
              %td
                = organization.conferences.count
              %td
                .btn-group
                  = link_to 'Edit', edit_admin_organization_path(organization),
                    method: :get, class: 'btn btn-primary'
                  = link_to 'Delete', admin_organization_path(organization),
                    method: :delete, class: 'btn btn-danger', data: { confirm: "Warning: This will delete #{organization.name} and all its data which includes data for all conferences within #{organization.name}. Do you really want to continue?" }<commit_msg>Avoid horizontal scroll bar<commit_after>.row
  .col-md-12
    .page-header
      %h1 Organizations
      .btn-group.pull-right
        = link_to 'Create Organization', new_admin_organization_path, class: 'btn btn-success pull-right'
      %p.text-muted
        Manage organizations in OSEM
.row
  .col-md-12
    %table.table.table-hover.datatable
      %thead
        %th Name
        %th Upcoming Conferences
        %th Past Conferences
        %th Actions
      %tbody
        - @organizations.each do |organization|
          %tr
            %td
              = organization.name
            %td
              = organization.conferences.count
            %td
              = organization.conferences.count
            %td
              .btn-group
                = link_to 'Edit', edit_admin_organization_path(organization),
                  method: :get, class: 'btn btn-primary'
                = link_to 'Delete', admin_organization_path(organization),
                  method: :delete, class: 'btn btn-danger', data: { confirm: "Warning: This will delete #{organization.name} and all its data which includes data for all conferences within #{organization.name}. Do you really want to continue?" }
{'fraction_non_alphanumeric': 0.08830744071954211, 'fraction_numerical': 0.004088307440719542, 'mean_word_length': 1.8061926605504588, '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': '5619546', 'n_tokens_mistral': 670, 'n_tokens_neox': 627, 'n_words': 177}