From 5d317c19dd0592eacafb9b00cfde52e22933a6bb Mon Sep 17 00:00:00 2001 From: BrokenEagle Date: Thu, 28 Dec 2017 12:40:44 -0800 Subject: [PATCH] Add autocomplete to tags input on post replacements --- app/views/post_replacements/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/post_replacements/index.html.erb b/app/views/post_replacements/index.html.erb index 356aec3a0..d42dc5ff1 100644 --- a/app/views/post_replacements/index.html.erb +++ b/app/views/post_replacements/index.html.erb @@ -6,7 +6,7 @@ <%= simple_form_for(:search, url: post_replacements_path, method: :get, defaults: { required: false }, html: { class: "inline-form" }) do |f| %> <%= f.input :creator_name, label: "Replacer", input_html: { value: params[:search][:creator_name] } %> - <%= f.input :post_tags_match, label: "Tags", input_html: { value: params[:search][:post_tags_match] } %> + <%= f.input :post_tags_match, label: "Tags", input_html: { value: params[:search][:post_tags_match], data: { autocomplete: "tag-query" } } %> <%= f.submit "Search" %> <% end %>