<commit_before><%- content_for :page_heading do %>
<h2>
  <i class="glyphicon glyphicon-large glyphicon-tags"></i>
  <%= t('.manage_tags') %>
</h2>
<% end %>

<div class='row'>
  <div class='col-md-4'>
    <%= form_tag :action=>"edit", :id => @tag.id do %>
      <%= error_messages_for 'tag' %>
      <div class='form-group'>
        <%= text_field :tag, :display_name, class: 'form-control', placeholder: t('.name') %>
      </div>
      <div class='form-group'>
        <hr>
        <%= link_to(t(".cancel"), {action: 'index'}) %>
        <%= t(".or") %>
        <%= submit_tag(t(".save"), class: 'btn btn-success') %>
      </div>
    <% end %>
  </div>
  <div class='col-md-8'>
    <table class="table table-hover">
      <thead>
        <tr class='noborder'>
          <th><%= t('.display_name') %></th>
          <th><%= t('.name')  %></th>
          <th><%= t('.articles') %></th>
        </tr>
      </thead>
      <%- if @tags.empty? %>
        <tr>
          <td colspan="3">
            <%= t(".no_tags") %>
          </td>
        </tr>
      <%- end %>
      <%- for tag in @tags %>
        <tr>
        <td>
          <%= link_to_edit tag.display_name, tag %>
          <%= show_tag_actions tag %>
        </td>
        <td><%= tag.name %></td>
        <td><%= tag.published_articles.count.to_s %></td>
      </tr>
    <% end %>
      <%= display_pagination(@tags, 3)%>
    </table>
  </div>
</div><commit_msg>admin/tags/new : removed articles column<commit_after><%- content_for :page_heading do %>
<h2>
  <i class="glyphicon glyphicon-large glyphicon-tags"></i>
  <%= t('.manage_tags') %>
</h2>
<% end %>

<div class='row'>
  <div class='col-md-4'>
    <%= form_tag :action=>"edit", :id => @tag.id do %>
      <%= error_messages_for 'tag' %>
      <div class='form-group'>
        <%= text_field :tag, :display_name, class: 'form-control', placeholder: t('.name') %>
      </div>
      <div class='form-group'>
        <hr>
        <%= link_to(t(".cancel"), {action: 'index'}) %>
        <%= t(".or") %>
        <%= submit_tag(t(".save"), class: 'btn btn-success') %>
      </div>
    <% end %>
  </div>
  <div class='col-md-8'>
    <table class="table table-hover">
      <thead>
        <tr class='noborder'>
          <th><%= t('.display_name') %></th>
          <th><%= t('.name')  %></th>
        </tr>
      </thead>
      <%- if @tags.empty? %>
        <tr>
          <td colspan="3">
            <%= t(".no_tags") %>
          </td>
        </tr>
      <%- end %>
      <%- for tag in @tags %>
        <tr>
        <td>
          <%= link_to_edit tag.display_name, tag %>
          <%= show_tag_actions tag %>
        </td>
        <td><%= tag.name %></td>
      </tr>
    <% end %>
      <%= display_pagination(@tags, 3)%>
    </table>
  </div>
</div>
{'fraction_non_alphanumeric': 0.24027377521613832, 'fraction_numerical': 0.004322766570605188, 'mean_word_length': 1.9386243386243387, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 125, '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': '5695474', 'n_tokens_mistral': 1089, 'n_tokens_neox': 992, 'n_words': 196}