<commit_before><%- model_class = Event -%>
<div class="page-header">
  <h1><%=t '.title', :default => model_class.model_name.human.titleize %> (<%= @event.hidden ? I18n.t("events.type.private") : I18n.t("events.type.public") %>)</h1>
</div>
<% if can? :view_participants, Event %>
  <%= render :partial => 'email_modal' %>
  <%= render :partial => 'participants_modal' %>
  <%= render :partial => 'show_event' %>

  <h1><%= t '.participants' %></h1>

    <table class="table table-striped">
      <tr>
        <th><%= t 'activerecord.attributes.profile.name' %></th>
        <th><%= t 'activerecord.attributes.profile.email' %></th>
        <th><%= t 'agreement_letters.agreement_letter' %></th>
        <th><%= sort_caret(ParticipantGroup.human_attribute_name(:group), :group) %></th>
        <% if can? :print_agreement_letters, Event and @has_agreement_letters %>
          <th>
            <label>
              <input type="checkbox" id="select_all_participants" class="participant_selection" onclick="flipAllCheckboxes(this, 'participant_selection')">
              <%= t 'events.agreement_letters_download.select_all' %>
            </label>
          </th>
        <% end %>
        <% if can? :show_eatings_habits, Event %>
          <th>7
            <%= sort_caret(t('activerecord.methods.application_letter.eating_habits'), 'eating-habits') %>
          </th>
        <% end %>
      </tr><commit_msg>Fix (#567)<commit_after><%- model_class = Event -%>
<div class="page-header">
  <h1><%=t '.title', :default => model_class.model_name.human.titleize %> (<%= @event.hidden ? I18n.t("events.type.private") : I18n.t("events.type.public") %>)</h1>
</div>
<% if can? :view_participants, Event %>
  <%= render :partial => 'email_modal' %>
  <%= render :partial => 'participants_modal' %>
  <%= render :partial => 'show_event' %>

  <h1><%= t '.participants' %></h1>

    <table class="table table-striped">
      <tr>
        <th><%= t 'activerecord.attributes.profile.name' %></th>
        <th><%= t 'activerecord.attributes.profile.email' %></th>
        <th><%= t 'agreement_letters.agreement_letter' %></th>
        <th><%= sort_caret(ParticipantGroup.human_attribute_name(:group), :group) %></th>
        <% if can? :print_agreement_letters, Event and @has_agreement_letters %>
          <th>
            <label>
              <input type="checkbox" id="select_all_participants" class="participant_selection" onclick="flipAllCheckboxes(this, 'participant_selection')">
              <%= t 'events.agreement_letters_download.select_all' %>
            </label>
          </th>
        <% end %>
        <% if can? :show_eatings_habits, Event %>
          <th>
            <%= sort_caret(t('activerecord.methods.application_letter.eating_habits'), 'eating-habits') %>
          </th>
        <% end %>
      </tr>
{'fraction_non_alphanumeric': 0.19241672572643514, 'fraction_numerical': 0.007087172218284904, 'mean_word_length': 3.0677233429394812, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '510136', 'n_tokens_mistral': 1031, 'n_tokens_neox': 908, 'n_words': 160}