eBooru/app/views/bulk_update_requests/_search.html.erb
Earlopain cc379af5eb
[Search] Add custom input type for users
Automatically adds name/id search
2023-08-04 20:46:59 +02:00

9 lines
497 B
Plaintext

<%= form_search(path: bulk_update_requests_path) do |f| %>
<%= f.user :user, label: "Creator" %>
<%= f.user :approver %>
<%= f.input :title_matches, label: "Title" %>
<%= f.input :script_matches, label: "Script" %>
<%= f.input :status, label: "Status", collection: %w[pending approved rejected], include_blank: true %>
<%= f.input :order, collection: [%w[Status status_desc], %w[Last\ updated updated_at_desc], %w[Newest id_desc], %w[Oldest id_asc]], include_blank: false %>
<% end %>