search_field_tag(name, value = nil, options = {})
Creates a text field of type “search”.
Accepts the same options as text_field_tag.
# File actionpack/lib/action_view/helpers/form_tag_helper.rb, line 539 def search_field_tag(name, value = nil, options = {}) text_field_tag(name, value, options.stringify_keys.update("type" => "search")) end