<commit_before><%% @title = "<%= human_name.pluralize %>" %>

<div class="pull-right"><%%= paginate @<%= plural_table_name %>, :theme => "twitter-bootstrap" %></div>
<div class="pull-left">
  <div class="btn-toolbar no-top-margin">
    <%%= link_to "Yeni Kayıt", new_admin_<%= singular_table_name %>_path, :class => "btn btn-primary" %>
    <%% if params[:q] %>
      <div class="btn-group">
        <a href="#filters" role="button" class="btn btn-warning" data-toggle="modal"><i class="icon-filter"></i> Filtrele</a>
        <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">
          <span class="caret"></span>
        </button>
        <ul class="dropdown-menu">
          <li><%%= link_to "Temizle", admin_<%= plural_table_name %>_path, :class => '' %></li>
        </ul>
      </div>
    <%% else %>
      <a href="#filters" role="button" class="btn" data-toggle="modal"><i class="icon-filter"></i> Filtrele</a>
    <%% end %>
    <%%= link_to raw('<i class="icon-black icon-file"></i> Export'), admin_<%= plural_table_name %>_path(params.merge(format: 'xls')), :class => "btn" %>
  </div>
</div>

<table class="table table-striped table-bordered table-hover">
  <thead>
    <tr>
      <th width="50">No</th>
      <% @attributes.each do |attribute| -%>
        <% next if %w(id created_at updated_at).include?(attribute.name) -%>
        <th width=""><%%= <%= class_name %>.human_attribute_name :<%= attribute.name %> %><%# attribute.type %></th>
      <% end -%>
      <th width="50"></th>
    </tr>
  </thead>
  <tbody>
    <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
      <tr>
        <td class="center nobr"><%%= link_to("##{<%= singular_table_name %>.id}", admin_<%= singular_table_name %>_path(<%= singular_table_name %>)) %></td>
        <% @attributes.each do |attribute| -%>
          <% next if %w(id created_at updated_at).include?(attribute.name) -%>
          <td class="nobr <%= "right" if [:decimal, :integer].include?(attribute.type) %>"><%%= <%= singular_table_name %>.<%= attribute.name %> %></td>
        <% end -%>
        <td>
          <div class="btn-group">
            <a class="btn btn-link btn-small dropdown-toggle" data-toggle="dropdown" href="#">
              İşlemler&nbsp;
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu pull-right">
              <li><%%= link_to('Düzenle', edit_admin_<%= singular_table_name %>_path(<%= singular_table_name %>)) %></li>
              <li class="divider"></li><commit_msg>Updates<commit_after><%% @title = "<%= human_name.pluralize %>" %>

<div class="pull-right"><%%= paginate @<%= plural_table_name %>, :theme => "twitter-bootstrap" %></div>
<div class="pull-left">
  <div class="btn-toolbar no-top-margin">
    <%%= link_to "Yeni Kayıt", new_admin_<%= singular_table_name %>_path, :class => "btn btn-primary" %>
    <%% if params[:q] %>
      <div class="btn-group">
        <a href="#filters" role="button" class="btn btn-warning" data-toggle="modal"><i class="icon-filter"></i> Filtrele</a>
        <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">
          <span class="caret"></span>
        </button>
        <ul class="dropdown-menu">
          <li><%%= link_to "Temizle", admin_<%= plural_table_name %>_path, :class => '' %></li>
        </ul>
      </div>
    <%% else %>
      <a href="#filters" role="button" class="btn" data-toggle="modal"><i class="icon-filter"></i> Filtrele</a>
    <%% end %>
    <%%= link_to raw('<i class="icon-black icon-file"></i> Export'), admin_<%= plural_table_name %>_path(params.merge(format: 'xls')), :class => "btn" %>
  </div>
</div>

<table class="table table-striped table-bordered table-hover">
  <thead>
    <tr>
      <th width="50">ID</th>
      <% @attributes.each do |attribute| -%>
        <% next if %w(id created_at updated_at).include?(attribute.name) -%>
        <th width=""><%%= <%= class_name %>.human_attribute_name :<%= attribute.name %> %><%# attribute.type %></th>
      <% end -%>
      <th width="50"></th>
    </tr>
  </thead>
  <tbody>
    <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
      <tr>
        <td class="center nobr"><%%= link_to("##{<%= singular_table_name %>.id}", admin_<%= singular_table_name %>_path(<%= singular_table_name %>)) %></td>
        <% @attributes.each do |attribute| -%>
          <% next if %w(id created_at updated_at).include?(attribute.name) -%>
          <td class="nobr <%= "right" if [:decimal, :integer].include?(attribute.type) %>"><%%= <%= singular_table_name %>.<%= attribute.name %> %></td>
        <% end -%>
        <td>
          <div class="btn-group">
            <a class="btn btn-link btn-small dropdown-toggle" data-toggle="dropdown" href="#">
              İşlemler&nbsp;
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu pull-right">
              <li><%%= link_to('Düzenle', edit_admin_<%= singular_table_name %>_path(<%= singular_table_name %>)) %></li>
              <li class="divider"></li>
{'fraction_non_alphanumeric': 0.226288862652499, 'fraction_numerical': 0.0015741833923652105, 'mean_word_length': 3.1358828315703824, 'pattern_counts': {'":': 0, '<': 185, '<?xml version=': 0, '>': 193, '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': '7549045', 'n_tokens_mistral': 1819, 'n_tokens_neox': 1714, 'n_words': 335}