<details class="lists-of-petitions">
  <summary><span class="summary">Other lists of petitions</span></summary>
  <div>
    <ul>
    <% public_petition_facets_with_counts(@petitions).each do |facet, count| %>
      <li>
        <%= link_to petitions_url(state: facet) do %>
          <%= t(facet, scope: :"petitions.lists", quantity: number_with_delimiter(count)) %>
        <% end %>
      </li>
    <% end %>
    </ul>
  </div>
</details>

<h1 class="page-title"><%= t(@petitions.scope, scope: :"petitions.page_titles") %></h1>

<% if petition_list_header? %>
  <p class="text-secondary"><%= petition_list_header %></p>
<% end %>

<%= form_tag petitions_path, class: 'search-inline', method: 'get', enforce_utf8: false do %>
  <%= search_field_tag 'q', @petitions.query, class: 'form-control', id: 'search' %>
  <%= hidden_field_tag 'state', @petitions.scope %>
  <%= submit_tag 'Search', class: 'inline-submit' %>
<% end %>

<p class="filtered-petition-count"><%= filtered_petition_count(@petitions) %></p>

<%= render 'petitions/search/results' %>
<%= render 'petitions/search/filter_nav' %>

<details class="lists-of-petitions">
  <summary><span class="summary">Other lists of petitions</span></summary>
  <div>
    <ul>
    <% public_petition_facets_with_counts(@petitions).each do |facet, count| %>
      <li>
        <%= link_to petitions_url(state: facet) do %>
          <%= t(facet, scope: :"petitions.lists", quantity: number_with_delimiter(count)) %>
        <% end %>
      </li>
    <% end %>
    </ul>
  </div>
</details>

<h1 class="page-title"><%= t(@petitions.scope, scope: :"petitions.page_titles") %></h1>

<% if petition_list_header? %>
  <p class="text-secondary"><%= petition_list_header %></p>
<% end %>

<%= form_tag petitions_path, class: 'search-inline', method: 'get', enforce_utf8: false do %>
  <%= search_field_tag 'q', @petitions.query, class: 'form-control', id: 'search' %>
  <%= hidden_field_tag 'state', @petitions.scope %>
  <%= submit_tag 'Search', name: nil, class: 'inline-submit' %>
<% end %>

<p class="filtered-petition-count"><%= filtered_petition_count(@petitions) %></p>

<%= render 'petitions/search/results' %>
<%= render 'petitions/search/filter_nav' %>

Remove name from the search form submit button
Remove name from the search form submit button

We don't need the value for the submit button in the form params so
by removing the name we will force the browser not to send it and
reduce visual noise in the search urls.
