/saved_searches: fix duplicate input_html in label field.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
<%= search_form_for(saved_searches_path) do |f| %>
|
||||
<%= f.input :query_ilike, label: "Query", hint: "Use * for wildcard", input_html: { value: params[:search][:query_ilike] } %>
|
||||
<%= f.input :label, label: "Label", input_html: { value: params[:search][:label] }, input_html: { "data-autocomplete": "saved-search-label" } %>
|
||||
<%= f.input :label, label: "Label", input_html: { value: params[:search][:label], "data-autocomplete": "saved-search-label" } %>
|
||||
<%= f.input :order, collection: [%w[Newest id], %w[Query query], %w[Label label]], include_blank: false, selected: params[:search][:order] %>
|
||||
<%= f.submit "Search" %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user