<%= title %>

<%= form_with(url: "", method: :get, local: true, id: "filter_form", class: "") do |form| %> <%= hidden_field_tag :poll, params[:poll] %> <%= hidden_field_tag :state, params[:state] %> <%= hidden_field_tag :locale, params[:locale] if params[:locale] %>
<%= label_tag "job_queue_filter", t(".queue_name"), class: "visually-hidden" %>
<%= label_tag "job_class_filter", t(".job_name"), class: "visually-hidden" %>
<%= label_tag "query", t(".search"), class: "visually-hidden" %> <%= search_field_tag "query", params[:query], class: "form-control form-control-sm", placeholder: t(".placeholder"), autocomplete: "off" %>
<%= form.submit t(".search"), name: nil, class: "btn btn-primary btn-sm" %> <%= link_to filter.to_params(job_class: nil, state: nil, queue_name: nil, query: nil), class: "btn btn-secondary btn-sm" do %> <%= t ".clear" %> <% end %>
<% end %>