Sha256: bbc86751b5c45852b53511fbb210fc1a92e89bad535ea2087c399d8de9697639
Contents?: true
Size: 890 Bytes
Versions: 35
Compression:
Stored size: 890 Bytes
Contents
SimpleForm.setup do |config| config.wrappers :horizontal_clockpicker, tag: :div, class: :row, hint_class: :field_with_hint, error_class: :error do |b| b.use :html5 b.use :placeholder b.optional :maxlength b.optional :pattern b.optional :min_max b.optional :readonly b.wrapper :label_wrapper, tag: :div, class: "small-3 columns" do |ba| ba.use :label, class: "right inline" end b.wrapper :right_input_wrapper, tag: :div, class: "small-9 columns" do |ba| ba.wrapper :x, tag: :div, class: "row collapse clockpicker-wrapper" do |bc| bc.use :prefix_column bc.use :input_column bc.use :error, wrap_with: { tag: :small, class: [:error, :datepicker_error] } bc.use :hint, wrap_with: { tag: :span, class: :hint } end end end end
Version data entries
35 entries across 35 versions & 1 rubygems