<commit_before><div id="topnav">
    <ul id="navigation">

        <li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>">
          <%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %>
        </li>

        <li class="<%= 'selected' if params[:controller] == 'request' and !['new', 'select_authority'].include?(params[:action]) %>">
          <%= link_to _("Browse requests"), request_list_all_path %>
        </li>

        <li class="<%= 'selected' if params[:controller] == 'public_body' %>">
          <%= link_to _("View authorities"), list_public_bodies_default_path %>
        </li>


        <li><%= link_to "Chi Siamo", ' http://www.dirittodisapere.it/chi-siamo/' %></li>
        <li class="<%= 'selected' if params[:controller] == 'help' %>">
          <%= link_to _("Help"), help_about_path %>
        </li>

        <li id="navigation_search">
          <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>">
            <label for="navigation_search_button">
              <img src="/assets/search.png" alt="Search:">
            </label>
              <%= text_field_tag 'query', params[:query], { :id => "navigation_search_button", :title => "type your search term here" } %>
          </form>
        </li>
    </ul>
</div><commit_msg>Search form should GET not POST<commit_after><div id="topnav">
    <ul id="navigation">

        <li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>">
          <%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %>
        </li>

        <li class="<%= 'selected' if params[:controller] == 'request' and !['new', 'select_authority'].include?(params[:action]) %>">
          <%= link_to _("Browse requests"), request_list_all_path %>
        </li>

        <li class="<%= 'selected' if params[:controller] == 'public_body' %>">
          <%= link_to _("View authorities"), list_public_bodies_default_path %>
        </li>


        <li><%= link_to "Chi Siamo", ' http://www.dirittodisapere.it/chi-siamo/' %></li>
        <li class="<%= 'selected' if params[:controller] == 'help' %>">
          <%= link_to _("Help"), help_about_path %>
        </li>

        <li id="navigation_search">
          <form id="navigation_search_form" method="get" action="<%= search_redirect_path %>">
            <label for="navigation_search_button">
              <img src="/assets/search.png" alt="Search:">
            </label>
              <%= text_field_tag 'query', params[:query], { :id => "navigation_search_button", :title => "type your search term here" } %>
          </form>
        </li>
    </ul>
</div>
{'fraction_non_alphanumeric': 0.20007171029042667, 'fraction_numerical': 0.0, 'mean_word_length': 2.9295774647887325, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 73, 'https://': 0, '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': '968752', 'n_tokens_mistral': 916, 'n_tokens_neox': 856, 'n_words': 184}