Files
nairobi/app/components/admin/search_component.html.erb
Javi Martín a9427f5971 Allow custom options in search form component
So we keep the same API as the form_tag method.
2020-12-04 19:57:05 +01:00

5 lines
191 B
Plaintext

<%= 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 %>