Sha256: 33110d7a22897a63f30e282ec5bf42604566b502cf8bb356071717c78fa9d52f
Contents?: true
Size: 488 Bytes
Versions: 16
Compression:
Stored size: 488 Bytes
Contents
module BootstrapForm module Datetimepicker def date_field(name, *args) options = args.extract_options!.symbolize_keys! options[:data] = {provide: 'datepicker', 'date-format' => 'L'}.merge(options[:data] || {}) args << options super end def datetime_field(name, *args) options = args.extract_options!.symbolize_keys! options[:data] = {provide: 'datepicker'}.merge(options[:data] || {}) args << options super end end end
Version data entries
16 entries across 16 versions & 1 rubygems