<commit_before><h4>Found <%= pluralize @participants.total_entries, "participant"%></h4>
<table id="part" class="table table-condensed table-striped">
  <thead>
    <th>First name</th>
    <th>Last name</th>
    <th>Country</th>
    <th>ref.nr.</th>
    <th>Guaranteed</th>
    <th></th>
    <th></th>
    <th></th>
    <% if false %>
      <th></th>
      <th></th>
    <% end %>
  </thead>

<% @participants.each do |participant| %>
  <tr>
    <td><%= participant.first_name %></td>
    <td><%= participant.last_name %></td>
    <td><%= participant.country.name %></td>
    <td><%= participant.flightnumber %></td>
    <td><%= participant.guaranteed ? "Yes":"No" %></td>
    <td><%= link_to image_tag('icons/user_go.png', :title=>"Show participant"), participant %></td>
    <td><%= link_to image_tag('icons/user_edit.png', :title=>"Edit participant"), edit_participant_path(participant) %></td>
    <% if false %>
      <td><%= link_to image_tag('icons/add.png', :title => "Match participant"), match_participant_path(participant) %></td>
      <td><%if participant.checked_in == nil%><%= link_to image_tag('icons/door_in.png', :title=>"Check in"), check_in_participant_path(participant.id) %><%else%><%= link_to image_tag('icons/door_out.png', :title=>"Check out"), check_out_participant_path(participant.id) %><%end%></td>
    <% end %>
  </tr>
<% end %>
</table><commit_msg>Added match and check_in links to participants#index<commit_after><h4>Found <%= pluralize @participants.total_entries, "participant"%></h4>
<table id="part" class="table table-condensed table-striped">
  <thead>
    <th>First name</th>
    <th>Last name</th>
    <th>Country</th>
    <th>Guaranteed</th>
    <th></th>
    <th></th>
    <th></th>
    <% if can? :check_in, Participant %>
      <th></th>
      <th></th>
    <% end %>
  </thead>

<% @participants.each do |participant| %>
  <tr>
    <td><%= participant.first_name %></td>
    <td><%= participant.last_name %></td>
    <td><%= participant.country.name %></td>
    <td><%= participant.guaranteed ? "Yes":"No" %></td>
    <td><%= link_to image_tag('icons/user_go.png', :title=>"Show participant"), participant %></td>
    <td><%= link_to image_tag('icons/user_edit.png', :title=>"Edit participant"), edit_participant_path(participant) %></td>
    <% if can? :check_in, Participant %>
      <td><%= link_to image_tag('icons/add.png', :title => "Match participant"), match_participant_path(participant) %></td>
      <td><%if participant.checked_in == nil%><%= link_to image_tag('icons/door_in.png', :title=>"Check in"), check_in_participant_path(participant.id) %><%end%></td>
    <% end %>
  </tr>
<% end %>
</table>
{'fraction_non_alphanumeric': 0.22573363431151242, 'fraction_numerical': 0.0015048908954100827, 'mean_word_length': 4.2445759368836296, 'pattern_counts': {'":': 2, '<': 128, '<?xml version=': 0, '>': 137, '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': '7240103', 'n_tokens_mistral': 1029, 'n_tokens_neox': 957, 'n_words': 177}