method
datetime_selector
datetime_selector(options, html_options)
private
Hide source
# File actionpack/lib/action_view/helpers/date_helper.rb, line 926 def datetime_selector(options, html_options) datetime = value(object) || default_datetime(options) options = options.dup options[:field_name] = @method_name options[:include_position] = true options[:prefix] ||= @object_name options[:index] = @auto_index if @auto_index && !options.has_key?(:index) DateTimeSelector.new(datetime, options, html_options) end