forked from e621ng/e621ng
20 lines
1.0 KiB
Plaintext
20 lines
1.0 KiB
Plaintext
<%= form_search(path: avoid_postings_path, always_display: true) do |f| %>
|
|
<%= f.input :any_name_matches, label: "Artist", hint: "Use * for wildcard", autocomplete: "artist" %>
|
|
<%= f.input :any_other_name_matches, label: "Other Names", hide_unless_value: true %>
|
|
<%= f.input :group_name, label: "Group Name", hide_unless_value: true %>
|
|
<%= f.input :artist_name, label: "Artist Name", hide_unless_value: true %>
|
|
<%= f.input :artist_id, label: "Artist ID", hide_unless_value: true %>
|
|
|
|
<% if CurrentUser.is_admin? %>
|
|
<%= f.user :creator %>
|
|
<%= f.input :ip_addr, label: "Creator IP" %>
|
|
<br />
|
|
<% end %>
|
|
<%= f.input :details, label: "Details" %>
|
|
<% if CurrentUser.is_staff? %>
|
|
<%= f.input :staff_notes, label: "Staff Notes" %>
|
|
<% end %>
|
|
<%= f.input :is_active, label: "Active?", collection: [["Yes", true], ["No", false]], include_blank: true %>
|
|
<%= f.input :order, collection: [["Artist Name", "artist_name"], %w[Created created_at], %w[Updated updated_at]], include_blank: true %>
|
|
<% end %>
|