<commit_before><%= render :partial => 'admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_store"), new_object_url, :icon => 'add'  %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%= t("stores") %></h1>

<table class="index">
  <thead>
    <th><%= t("name") %></th>
    <th><%= t("code") %></th>
    <th><%= t("domains") %></th>
    <th><%= t("action") %></th>
  </thead>
  <tbody>
    <% @stores.each do |store|%>
      <tr id="<%= dom_id store %>">
        <td width="120px"><%= store.name %></td>
        <td width="80px"><%= store.code %></td>
        <td width="220"><%= store.domains %></td>
        <td width="140px">
          <%= link_to_edit store %> &nbsp;
          <%= link_to_delete store %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table><commit_msg>add pagination controls to admin/index page<commit_after><%= render :partial => 'admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_store"), new_object_url, :icon => 'add'  %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%= t("stores") %></h1>

<table class="index">
  <thead>
    <th><%= t("name") %></th>
    <th><%= t("code") %></th>
    <th><%= t("domains") %></th>
    <th><%= t("action") %></th>
  </thead>
  <tbody>
    <% @stores.each do |store|%>
      <tr id="<%= dom_id store %>">
        <td width="120px"><%= store.name %></td>
        <td width="80px"><%= store.code %></td>
        <td width="220"><%= store.domains %></td>
        <td width="140px">
          <%= link_to_edit store %> &nbsp;
          <%= link_to_delete store %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>
<%= will_paginate(:previous_label => "&#171; #{t('previous')}", :next_label => "#{t('next')} &#187;") %>

{'fraction_non_alphanumeric': 0.27297297297297296, 'fraction_numerical': 0.017297297297297298, 'mean_word_length': 2.808641975308642, 'pattern_counts': {'":': 0, '<': 100, '<?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': '3730747', 'n_tokens_mistral': 774, 'n_tokens_neox': 706, 'n_words': 150}