Class: ActionView::Helpers::InstanceTag

Inherits:
Object
  • Object
show all
Defined in:
lib/action_view/helpers/text_field_date_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_date_text_field_tag(options = {}, html_options = {}) ⇒ Object



153
154
155
# File 'lib/action_view/helpers/text_field_date_helper.rb', line 153

def to_date_text_field_tag(options = {}, html_options = {})
 datetime_selector(options, html_options).text_field_date.html_safe
end

#to_time_text_field_tag(options = {}, html_options = {}) ⇒ Object



157
158
159
# File 'lib/action_view/helpers/text_field_date_helper.rb', line 157

def to_time_text_field_tag(options = {}, html_options = {})
 datetime_selector(options, html_options).text_field_time.html_safe
end