Sha256: 196cc23a715c22f4d329a9ac02b540db40f383aa09a6fb3b7a0e08c16b3d09fa

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module UiBibz::Ui::Core::Forms::Surrounds
  class SurroundCheckboxField < UiBibz::Ui::Core::Forms::Choices::CheckboxField
    # See UiBibz::Ui::Core::Dropdown.initialize
    def initialize(content, options = nil, html_options = nil, &block)
      super
    end

    private

    def component_html_classes
      super << 'input-group-addon'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ui_bibz-2.5.6 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-2.5.5 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-2.5.3 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-2.5.2 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-2.5.1 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb
ui_bibz-2.5.0 lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb