Sha256: 91cbe73982cec9073a4a570fb86a9dcade5b70a463d26767dd16cec441606bf6

Contents?: true

Size: 319 Bytes

Versions: 32

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module UiBibzInputs
  class UiSwitchFieldInput < UiCheckboxFieldInput
    include UiBibz::Ui::Core::Forms::Choices

    def input(_wrapper_options)
      UiBibz::Ui::Core::Forms::Choices::SwitchField.new(input_attribute_name, new_options, new_input_html_options).render
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
ui_bibz-4.0.0.beta16 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta15 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta14 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta13 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta10 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta9 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta8 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta7 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta6 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta4 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-4.0.0.beta3 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.13 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.12 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.11 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.10 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.9 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.8 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.7 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.6 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
ui_bibz-3.0.5 lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb