Module: ActionView::Helpers::FormHelper

Defined in:
lib/date-input-rails.rb

Instance Method Summary collapse

Instance Method Details

#date_field(object_name, method, options = {}) ⇒ Object



17
18
19
# File 'lib/date-input-rails.rb', line 17

def date_field(object_name, method, options = {})
  InstanceTag.new(object_name, method, self, options.delete(:object)).to_date_field_tag(options)
end