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



978
979
980
# File 'lib/action_view/helpers/date_helper.rb', line 978

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



986
987
988
# File 'lib/action_view/helpers/date_helper.rb', line 986

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



982
983
984
# File 'lib/action_view/helpers/date_helper.rb', line 982

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