<commit_before><% provide(:title, 'Item Search') %>
<h1>Item Search</h1>

<%= form_tag search_url, method: :get, id: "search" do %>
  <%= text_field_tag :search, params[:search],
    style: "width: 30%",
    autocomplete: "off",
    class: "vatop" %>
  <%= submit_tag "filter", name: nil, class: "btn vatop" %>
<% end %>

<% if params[:search] %>
  <%= pluralize(@total_items, 'result') %> found<br>
<% end %>

<%= will_paginate(@items) %>

<ul class="items">
  <%= render @items %>
</ul>
<commit_msg>fix unsecure HTTP link in item search form<commit_after><% provide(:title, 'Item Search') %>
<h1>Item Search</h1>

<%= form_tag search_path, method: :get, id: "search" do %>
  <%= text_field_tag :search, params[:search],
    style: "width: 30%",
    autocomplete: "off",
    class: "vatop" %>
  <%= submit_tag "filter", name: nil, class: "btn vatop" %>
<% end %>

<% if params[:search] %>
  <%= pluralize(@total_items, 'result') %> found<br>
<% end %>

<%= will_paginate(@items) %>

<ul class="items">
  <%= render @items %>
</ul>

{'fraction_non_alphanumeric': 0.22674418604651161, 'fraction_numerical': 0.007751937984496124, 'mean_word_length': 4.614130434782608, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '6589284', 'n_tokens_mistral': 429, 'n_tokens_neox': 382, 'n_words': 93}