Allow custom options in search form component
So we keep the same API as the form_tag method.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= form_tag(url, method: :get, role: "search") do |f| %>
|
||||
<%= form_tag(url, options) do |f| %>
|
||||
<%= text_field_tag :search, search_terms.to_s, placeholder: label, "aria-label": label %>
|
||||
<%= submit_tag t("admin.shared.search.search") %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user