<commit_before><table class="index">
  <tr>
    <th><%= t('activerecord.models.user') %></th>
    <th class="checked_item_title"><%= t('page.title') %></th>
    <th><%= t('activerecord.attributes.checkout.due_date') %></th>
    <th></th>
  </tr>

<%- if @checkouts -%>
  <%- @checkouts.each_with_index do |checkout, i| %>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to checkout.user_username, checkout.user %>
      <br />
      (<%= link_to checkout.user_user_number, checkout.user %>)
    </td>
    <td>
      <%= render 'manifestations/show_index', :manifestation => checkout.item.manifestation -%>
      (<%= link_to checkout.item.item_identifier, item_path(checkout.item) -%>)
    </td>
    <td><%= l(checkout.due_date, :format => :only_date) -%></td>
    <td>
      <%= link_to t('page.show'), user_checkout_path(checkout.user, checkout) -%>
      <br />
      <%- if can? :update, checkout -%>
        <%= link_to t('checkout.extend'), edit_user_checkout_path(checkout.user, checkout) -%>
      <%- end -%>
    </td>
    <!--
    <td>
      <%- if can? :destroy, checkout -%>
        <%= link_to t('page.destroy'), user_checkout_path(checkout.user, checkout), :confirm => t('page.are_you_sure'), :method => :delete -%>
      <%- end -%>
    </td>
    -->
  </tr>
  <%- end -%>
<%- end -%>
</table><commit_msg>added will_paginate helper to the checkouts template<commit_after><table class="index">
  <tr>
    <th><%= t('activerecord.models.user') %></th>
    <th class="checked_item_title"><%= t('page.title') %></th>
    <th><%= t('activerecord.attributes.checkout.due_date') %></th>
    <th></th>
  </tr>

<%- if @checkouts -%>
  <%- @checkouts.each_with_index do |checkout, i| %>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to checkout.user_username, checkout.user %>
      <br />
      (<%= link_to checkout.user_user_number, checkout.user %>)
    </td>
    <td>
      <%= render 'manifestations/show_index', :manifestation => checkout.item.manifestation -%>
      (<%= link_to checkout.item.item_identifier, item_path(checkout.item) -%>)
    </td>
    <td><%= l(checkout.due_date, :format => :only_date) -%></td>
    <td>
      <%= link_to t('page.show'), user_checkout_path(checkout.user, checkout) -%>
      <br />
      <%- if can? :update, checkout -%>
        <%= link_to t('checkout.extend'), edit_user_checkout_path(checkout.user, checkout) -%>
      <%- end -%>
    </td>
    <!--
    <td>
      <%- if can? :destroy, checkout -%>
        <%= link_to t('page.destroy'), user_checkout_path(checkout.user, checkout), :confirm => t('page.are_you_sure'), :method => :delete -%>
      <%- end -%>
    </td>
    -->
  </tr>
  <%- end -%>
<%- end -%>
</table>

<%= will_paginate(@checkouts) %>
{'fraction_non_alphanumeric': 0.23046165030897856, 'fraction_numerical': 0.0014540167211922936, 'mean_word_length': 2.971139971139971, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 106, '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': '7229003', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1024, 'n_words': 172}