post versions: add more search options to /post_versions/search.

This commit is contained in:
evazion
2019-09-26 16:35:05 -05:00
parent 3341223b40
commit 12de26d2cf
3 changed files with 12 additions and 28 deletions

View File

@@ -3,8 +3,16 @@
<h1>Search Changes</h1>
<%= search_form_for(post_versions_path) do |f| %>
<%= f.input :updated_at, label: "Date" %>
<%= f.input :updater_name, label: "Updater", input_html: { "data-autocomplete": "user" } %>
<%= f.input :post_id %>
<%= f.input :parent_id %>
<%= f.input :rating %>
<%= f.input :source_ilike, label: "Source", hint: "Use * for wildcard" %>
<%= f.input :version %>
<%= f.input :rating_changed, as: :select %>
<%= f.input :parent_changed, as: :select %>
<%= f.input :source_changed, as: :select %>
<%= f.submit "Search" %>
<% end %>
</div>