Sha256: 7b322e197b87350687527d199cefb56aa2e02c68dcb043a1f3c506649c3288ab

Contents?: true

Size: 293 Bytes

Versions: 13

Compression:

Stored size: 293 Bytes

Contents

module CustomInputs
  class SwitchInput < SimpleForm::Inputs::Base
    include UiBibz::Ui::Core

    def input(wrapper_options)
      options = @options.merge({ builder: @builder })
      UiBibz::Ui::Core::SwitchField.new(attribute_name, options, input_html_options).render
    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ui_bibz-2.0.0.alpha14 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha13 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha12 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha11 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha10 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha9 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha8 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha7 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha6 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha5 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha4 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha3 app/inputs/custom_inputs/switch_input.rb
ui_bibz-2.0.0.alpha2 app/inputs/custom_inputs/switch_input.rb