module ActionView::Helpers::DateAndTimeHelper

Constants

DEFAULT_PREFIX
POSITION

Public Instance Methods

date_and_time_field(object_name, method, options = {}, html_options = {}) click to toggle source
# File lib/action_view/helpers/date_and_time_helper.rb, line 7
def date_and_time_field(object_name, method, options = {}, html_options = {})
  InstanceTag.new(object_name, method, self, options.delete(:object)).to_date_and_time_field_tag(options, html_options).html_safe
end