recommendations: allow filtering recs by tags.

This commit is contained in:
evazion
2019-12-02 02:25:38 -06:00
parent 5791f4e805
commit 27a1a90cf3
2 changed files with 9 additions and 7 deletions

View File

@@ -5,6 +5,7 @@
<%= search_form_for(recommended_posts_path) do |f| %>
<%= f.input :user_name, label: "User", input_html: { value: params[:search][:user_name], "data-autocomplete": "user" } %>
<%= f.input :post_id, label: "Post", input_html: { value: params[:search][:post_id] } %>
<%= f.input :post_tags_match, label: "Tags", input_html: { value: params[:search][:post_tags_match], "data-autocomplete": "tag-query" } %>
<%= f.submit "Search" %>
<% end %>