Sha256: 9fdea1f551bf07fac35082398e5702839fc3e59c7872c6c52ef4c1e43e57c386
Contents?: true
Size: 350 Bytes
Versions: 36
Compression:
Stored size: 350 Bytes
Contents
module ActiveScaffold module DateSelectExtension private def datetime_selector(options, html_options) options[:prefix] = options[:name].gsub(/\[[^\[]*\]$/, '') if options[:name] super(options, html_options) end end end ActionView::Helpers::Tags::DateSelect.class_eval do prepend ActiveScaffold::DateSelectExtension end
Version data entries
36 entries across 36 versions & 1 rubygems