Method: ActionView::Helpers::TextFieldDateHelper#text_field_date

Defined in:
lib/action_view/helpers/text_field_date_helper.rb

#text_field_date(date = Date.current, options = {}, html_options = {}) ⇒ Object

These two handle Date and Time objects.



18
19
20
# File 'lib/action_view/helpers/text_field_date_helper.rb', line 18

def text_field_date(date = Date.current, options = {}, html_options = {})
  DateTimeSelector.new(date, options, html_options).text_field_date
end