Sha256: b0120d96add75a5b029c4f9dd8b78bb07907da789986f8a8617690533329a9eb
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
module Trestle class Form module Fields class RangeField < Field def field builder.raw_range_field(name, options) end def custom? options[:custom] != false end def normalize_options! options.reverse_merge!(class: ["custom-range"]) if custom? super end end end end end Trestle::Form::Builder.register(:range_field, Trestle::Form::Fields::RangeField)
Version data entries
4 entries across 4 versions & 1 rubygems