<commit_before>  <div class="jumbotron">
    <center><h1>Suitell</h1>
      <p>飯、待てぬ、食わねば。</p>
      <%= form_tag(restaurants_search_path) do |f| %>
        <div class="input-group">
          <%= text_field_tag :name,"" ,class: 'form-control', placeholder: '飲食店を検索しよう！' %>
          <span class="input-group-btn">
            <%= button_tag '検索', class: 'btn btn-default' %>
          </span>
        </div>
      <% end %>
    </center>
  </div>

  <center><p><%= @error %></p></center>
  
  <center><h1>検索一覧</h1></center>
  <table class="table table-hover">
    <thead>
      <tr>
        <th class="col-md-3">店名</th>
        <th class="col-md-3">混雑度</th>
        <th class="col-md-3">最新更新時</th>
	<th class="col-md-3">コメント</th>
      </tr>
    </thead>
    <tbody>
      <% @searched.each do |ranking| %>
      <% latest_comment = ranking.latest_comment %>
      <% if latest_comment.blank? %>
      <% latest_comment = 'コメント無し' %>
      <% end %>
      <tr>
        <td class="col-md-3"><%= link_to ranking.name, "https://www.google.co.jp/search?q=" + ranking.name %></td>
        <td class="col-md-3"><%= image_tag(@crowded_image[ranking.crowdedness], :size => "32x32") %><%= link_to @how_crowded[ranking.crowdedness], :action => "report", :resname => ranking.name %></td>
        <td class="col-md-3"><%= sec2h((Time.zone.now - ranking.updated_at).to_i) %>前</td>
	<td class="col-md-4"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span>&nbsp;&nbsp;<%= link_to latest_comment.truncate(15), :action => "comment_log", \
	  :restaurant_id => ranking.id %></td>
      </tr>
      <% end %>
    </tbody>
  </table><commit_msg>Update search.html.erb<commit_after>  <div class="jumbotron">
    <center><h1>Suitell</h1>
      <p>飯、待てぬ、食わねば。</p>
      <%= form_tag(restaurants_search_path) do |f| %>
        <div class="input-group">
          <%= text_field_tag :name,"" ,class: 'form-control', placeholder: '飲食店を検索しよう！' %>
          <span class="input-group-btn">
            <%= button_tag '検索', class: 'btn btn-default' %>
          </span>
        </div>
      <% end %>
    </center>
  </div>

  <center><p><%= @error %></p></center>
  
  <center><h1>検索一覧</h1></center>
  <table class="table table-hover">
    <thead>
      <tr>
        <th class="col-md-3">店名</th>
        <th class="col-md-3">混雑度</th>
        <th class="col-md-3">最新更新時</th>
	<th class="col-md-3">コメント</th>
      </tr>
    </thead>
    <tbody>
      <% @searched.each do |ranking| %>
      <% latest_comment = ranking.latest_comment %>
      <% if latest_comment.blank? %>
      <% latest_comment = 'コメント無し' %>
      <% end %>
      <tr>
        <td class="col-md-3"><%= link_to ranking.name, "https://www.google.co.jp/search?q=" + ranking.name %></td>
        <td class="col-md-3"><%= image_tag(@crowded_image[ranking.crowdedness], :size => "32x32") %><%= link_to @how_crowded[ranking.crowdedness], :action => "report", :resname => ranking.name %></td>
        <td class="col-md-3"><%= sec2h((Time.zone.now - ranking.updated_at).to_i) %>前</td>
	<td class="col-md-3"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span>&nbsp;&nbsp;<%= link_to latest_comment.truncate(15), :action => "comment_log", \
	  :restaurant_id => ranking.id %></td>
      </tr>
      <% end %>
    </tbody>
  </table>
{'fraction_non_alphanumeric': 0.2251896813353566, 'fraction_numerical': 0.011532625189681336, 'mean_word_length': 2.8414918414918415, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 141, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '2255145', 'n_tokens_mistral': 1374, 'n_tokens_neox': 1297, 'n_words': 198}