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