module ActiveScaffold::DateSelectExtension

Private Instance Methods

datetime_selector(options, html_options) click to toggle source
Calls superclass method
# File lib/active_scaffold/extensions/name_option_for_datetime.rb, line 5
def datetime_selector(options, html_options)
  options[:prefix] = options[:name].gsub(/\[[^\[]*\]$/, '') if options[:name]
  super(options, html_options)
end