Module: ActionView::Helpers::FormTagHelper
- Defined in:
- lib/date-input-rails.rb
Instance Method Summary collapse
Instance Method Details
#date_field_tag(name, value = nil, options = {}) ⇒ Object
39 40 41 |
# File 'lib/date-input-rails.rb', line 39 def date_field_tag(name, value = nil, = {}) text_field_tag(name, value, .stringify_keys.update("type" => "date")) end |