<commit_before><div class="page-header">
  <%= link_to new_author_path, class: 'btn btn-primary' do %>
    <span class="glyphicon glyphicon-plus"></span>
    新規登録
  <% end %>
  <h1>作者情報</h1>
</div>

<%= search_form_for @q , html: { class: "form-horizontal", role: "form"} do |f|  %>

<div class="panel panel-default">
    <div class="panel-heading">
        <span class="glyphicon glyphicon-search" aria-hidden="true">
        <span>検索条件</span>
    </div>
    <div class="panel-body">
        <div class="form-group">
            <%= f.label :name_cont, '作者名', class: "col-sm-2 control-label" %>
            <div class="col-sm-3">
              <%= f.text_field :name_cont, class: "form-control" %>
            </div>
            <%= f.label :disp_name_cont, "表記名", class: "col-sm-2 control-label" %>
            <div class="col-sm-3">
              <%= f.search_field :disp_name_cont, class: "form-control" %>
            </div>
            <div class="col-sm-2">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2"><%= f.submit '検索' ,class: "btn btn-primary" %> <a href="#"  class="btn btn-default" onclick="clearFormAll();return false">リセット</a></div>
        </div>
    </div>
</div>
<% end %>

<div class="table-responsive">
  <div class="text-right"><%= @authors.offset_value + 1 %>〜<%= @authors.offset_value + @authors.length %>件 / <%= @authors.total_count %>件</div>
  <table class="table table-striped table-bordered table-hover">
    <thead>
      <tr>
            <th><%= sort_link(@q, :name, "作者名") %></th>
            <th><%= sort_link(@q, :disp_name) %></th>
            <th>Web</th>
      </tr>
    </thead>
    <tbody><commit_msg>タグを統一<commit_after><div class="page-header">
  <%= link_to new_author_path, class: 'btn btn-primary' do %>
    <span class="glyphicon glyphicon-plus"></span>
    新規登録
  <% end %>
  <h1>作者情報</h1>
</div>

<%= search_form_for @q , html: { class: "form-horizontal", role: "form"} do |f|  %>

<div class="panel panel-default">
    <div class="panel-heading">
        <span class="glyphicon glyphicon-search" aria-hidden="true">
        <span>検索条件</span>
    </div>
    <div class="panel-body">
        <div class="form-group">
            <%= f.label :name_cont, '作者名', class: "col-sm-2 control-label" %>
            <div class="col-sm-3">
              <%= f.text_field :name_cont, class: "form-control" %>
            </div>
            <%= f.label :disp_name_cont, "表記名", class: "col-sm-2 control-label" %>
            <div class="col-sm-3">
              <%= f.text_field :disp_name_cont, class: "form-control" %>
            </div>
            <div class="col-sm-2">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2"><%= f.submit '検索' ,class: "btn btn-primary" %> <a href="#"  class="btn btn-default" onclick="clearFormAll();return false">リセット</a></div>
        </div>
    </div>
</div>
<% end %>

<div class="table-responsive">
  <div class="text-right"><%= @authors.offset_value + 1 %>〜<%= @authors.offset_value + @authors.length %>件 / <%= @authors.total_count %>件</div>
  <table class="table table-striped table-bordered table-hover">
    <thead>
      <tr>
            <th><%= sort_link(@q, :name, "作者名") %></th>
            <th><%= sort_link(@q, :disp_name) %></th>
            <th>Web</th>
      </tr>
    </thead>
    <tbody>
{'fraction_non_alphanumeric': 0.20950704225352113, 'fraction_numerical': 0.005868544600938967, 'mean_word_length': 2.4539007092198584, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '7036208', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1244, 'n_words': 241}