<commit_before><% content_for(:hero_panel) do %>
  <%= link_to([:new, ActiveModel::Naming.singular_route_key(@klass)], class: 'waves-effect waves-light btn-floating blue') do %>
    <i class="material-icons">add</i>
  <% end %>
  <%= link_to([:sort, @klass], class: 'waves-effect waves-light btn-floating red') do %>
    <i class="material-icons">swap_vert</i>
  <% end if @klass.admin_sortable? %>
<% end %>

<%= render 'cohesive_admin/filters/form' %>

<div class="card-panel">
  <table class="bordered highlight">
    <thead>
      <tr>
        <th><%= @klass.display_name_method.to_s.humanize.titleize %></th>
      </tr>
    </thead>

    <tbody>
    <% if @items.empty? %>
      <tr>
        <td class="center-align">
          <%= "No #{@header} Found." %>
        </td>
      </tr>
    <% else %>
      <% @items.each do |i| %>
        <tr>
          <td>
            <%= link_to([:clone, i], class: 'secondary-content') do %>
              <i class="material-icons">library_add</i>
            <% end if @klass.admin_duplicatable? %>
            <%= link_to(i.to_label, [:edit, i]) %>
          </td>
        </tr>
      <% end %><commit_msg>added tooltips to the index page<commit_after><% content_for(:hero_panel) do %>
  <%= link_to([:new, ActiveModel::Naming.singular_route_key(@klass)], class: 'waves-effect waves-light btn-floating blue') do %>
    <i class="material-icons">add</i>
  <% end %>
  <%= link_to([:sort, @klass], class: 'waves-effect waves-light btn-floating red') do %>
    <i class="material-icons">swap_vert</i>
  <% end if @klass.admin_sortable? %>
<% end %>

<%= render 'cohesive_admin/filters/form' %>

<div class="card-panel">
  <table class="bordered highlight">
    <thead>
      <tr>
        <th><%= @klass.display_name_method.to_s.humanize.titleize %></th>
      </tr>
    </thead>

    <tbody>
    <% if @items.empty? %>
      <tr>
        <td class="center-align">
          <%= "No #{@header} Found." %>
        </td>
      </tr>
    <% else %>
      <% @items.each do |i| %>
        <tr>
          <td>
            <%= link_to([:clone, i], class: 'secondary-content') do %>
              <i class="material-icons tooltipped" data-position="left" data-delay="500" data-tooltip="Duplicate">library_add</i>
            <% end if @klass.admin_duplicatable? %>
            <%= link_to(i.to_label, [:edit, i], class: "tooltipped", "data-delay" => "500", "data-position" => "left", "data-tooltip" => "Click to Edit") %>
          </td>
        </tr>
      <% end %>
{'fraction_non_alphanumeric': 0.20551779288284686, 'fraction_numerical': 0.0023990403838464614, 'mean_word_length': 2.5793991416309012, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 84, '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': '5385664', 'n_tokens_mistral': 945, 'n_tokens_neox': 872, 'n_words': 169}