<commit_before><% content_for :javascripts do %>
<%= javascript_include_tag 'jquery.min.js', 'jquery.scrollTo-1.4.2.js', 'admin/dashboard/index.js' %>
<% end %>

<% content_for :stylesheets do %>
  <%= stylesheet_link_tag 'admin/dashboard/index.css' %>
<% end %>

<div id="features_list" class="table">
  <span class="title"><%= t('.your_features') %></span>
  <div id="search">
    <%= form_tag '/', :method => :get do %>
      <%= label_tag 'search', t('.search_label') %>
      <%= text_field_tag 'search' %>
      <%= submit_tag t('.search') %>
    <% end %>
    <%= link_to content_tag(:span, t('.scroll_right')), '#', :id => 'scroll_right' %>
    <%= link_to content_tag(:span, t('.scroll_left')), '#', :id => 'scroll_left' %>
  </div>
  <div id="features_table">
    <table class="list">
      <tr class="header">
        <th><div class="id">id.</div></th>
        <% @features_columns.each do |column| %>
        <th><div class="<%= column[:type] %>"><%= column[:name] %></div></th>
        <% end %>
      </tr>
      <% @features.each do |feature| %>
        <tr class="item <%= cycle('odd', 'even') %>">
          <td class="cartodb_id"><%= link_to feature.cartodb_id, admin_features_path(feature.cartodb_id) %></td>
          <% @features_columns.each do |column| %>
            <td class="<%= column.first %>"><%= feature.send(column[:name]).to_s.truncate(28) %></td>
          <% end %>
        </tr>
      <% end %>
    </table>
  </div>
  <%= link_to t('.create_feature'), new_admin_feature_path, :id => 'create_feature', :class => 'main_action' %>
  <%= link_to t('.edit_in_cartodb'), "#{@cartodb_host}/tables/#{@table_id}", :id => 'edit_in_cartodb', :class => 'alternate_action' %>
  <%= paginate @features, 1, @features.count %>
</div>

<div id="pages_list" class="table">
  <div class="title"><%= t('.your_pages') %></div>
  <div class="pages_list_container">
    <ul>
      <% @pages.each do |page| %>
      <li>
        <div>
          <p><%= page['title'] %></p>
          <p class="link">
            <%= link_to t('.edit_this_page'), edit_admin_page_path(page['id'].to_i) %>
          </p>
        </div>
      </li>
      <% end %>
    </ul>
  </div>
  <div class="pages_footer">
    <%= link_to t('.create_new_page'), new_admin_page_path, :class => 'main_action' %>
  </div><commit_msg>Fix link to edit feature<commit_after><% content_for :javascripts do %>
<%= javascript_include_tag 'jquery.min.js', 'jquery.scrollTo-1.4.2.js', 'admin/dashboard/index.js' %>
<% end %>

<% content_for :stylesheets do %>
  <%= stylesheet_link_tag 'admin/dashboard/index.css' %>
<% end %>

<div id="features_list" class="table">
  <span class="title"><%= t('.your_features') %></span>
  <div id="search">
    <%= form_tag '/', :method => :get do %>
      <%= label_tag 'search', t('.search_label') %>
      <%= text_field_tag 'search' %>
      <%= submit_tag t('.search') %>
    <% end %>
    <%= link_to content_tag(:span, t('.scroll_right')), '#', :id => 'scroll_right' %>
    <%= link_to content_tag(:span, t('.scroll_left')), '#', :id => 'scroll_left' %>
  </div>
  <div id="features_table">
    <table class="list">
      <tr class="header">
        <th><div class="id">id.</div></th>
        <% @features_columns.each do |column| %>
        <th><div class="<%= column[:type] %>"><%= column[:name] %></div></th>
        <% end %>
      </tr>
      <% @features.each do |feature| %>
        <tr class="item <%= cycle('odd', 'even') %>">
          <td class="cartodb_id"><%= link_to feature.cartodb_id, admin_feature_path(feature.cartodb_id) %></td>
          <% @features_columns.each do |column| %>
            <td class="<%= column.first %>"><%= feature.send(column[:name]).to_s.truncate(28) %></td>
          <% end %>
        </tr>
      <% end %>
    </table>
  </div>
  <%= link_to t('.create_feature'), new_admin_feature_path, :id => 'create_feature', :class => 'main_action' %>
  <%= link_to t('.edit_in_cartodb'), "#{@cartodb_host}/tables/#{@table_id}", :id => 'edit_in_cartodb', :class => 'alternate_action' %>
  <%= paginate @features, 1, @features.count %>
</div>

<div id="pages_list" class="table">
  <div class="title"><%= t('.your_pages') %></div>
  <div class="pages_list_container">
    <ul>
      <% @pages.each do |page| %>
      <li>
        <div>
          <p><%= page['title'] %></p>
          <p class="link">
            <%= link_to t('.edit_this_page'), edit_admin_page_path(page['id'].to_i) %>
          </p>
        </div>
      </li>
      <% end %>
    </ul>
  </div>
  <div class="pages_footer">
    <%= link_to t('.create_new_page'), new_admin_page_path, :class => 'main_action' %>
  </div>
{'fraction_non_alphanumeric': 0.2372735116479724, 'fraction_numerical': 0.0025884383088869713, 'mean_word_length': 3.173717371737174, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 175, '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': '7378124', 'n_tokens_mistral': 1786, 'n_tokens_neox': 1637, 'n_words': 297}