[Tickets] Properly include blank select for search

This commit is contained in:
Earlopain 2022-12-13 18:35:48 +01:00
parent 22e5ad219c
commit 220ee8be16
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -6,7 +6,6 @@
<%= f.input :reason %>
<% end %>
<%= f.input :qtype, label: "Type", collection: [
["Any", ""],
["User complaint", "user"],
["Private message complaint", "dmail"],
["Comment complaint", "comment"],
@ -16,15 +15,14 @@
["Pool complaint", "pool"],
["Set complaint", "set"],
["Post complaint", "post"]
] %>
], include_blank: true %>
<%= f.input :status, collection: [
["Any", ""],
["Pending + Unclaimed", "pending_unclaimed"],
["Pending + Claimed", "pending_claimed"],
["Approved/investigated", "approved"],
["Under investigation", "partial"],
["Pending", "pending"],
["Denied", "denied"]
] %>
], include_blank: true %>
<%= f.submit "Search" %>
<% end %>