Module: ActionView::Helpers::DateHelperInstanceTag

Included in:
InstanceTag
Defined in:
lib/action_view/helpers/date_helper.rb

Instance Method Summary collapse

Instance Method Details

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



984
985
986
# File 'lib/action_view/helpers/date_helper.rb', line 984

def to_date_select_tag(options = {}, html_options = {})
  datetime_selector(options, html_options).select_date.html_safe
end

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



992
993
994
# File 'lib/action_view/helpers/date_helper.rb', line 992

def to_datetime_select_tag(options = {}, html_options = {})
  datetime_selector(options, html_options).select_datetime.html_safe
end

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



988
989
990
# File 'lib/action_view/helpers/date_helper.rb', line 988

def to_time_select_tag(options = {}, html_options = {})
  datetime_selector(options, html_options).select_time.html_safe
end