Sha256: 3472910d7835ed58f31d8a64cb1823f1b073342596706f5d63fd6c8e25e13845

Contents?: true

Size: 473 Bytes

Versions: 17

Compression:

Stored size: 473 Bytes

Contents

module TaoForm
  module Inputs
    class CollectionCheckBoxesInput < ::SimpleForm::Inputs::CollectionCheckBoxesInput

      def input(wrapper_options = nil)
        template.content_tag(:div, super, class: 'group-field checkbox-group-field')
      end

      protected

      def build_nested_boolean_style_item_tag(collection_builder)
        template.tao_check_box {
          collection_builder.check_box
        } + collection_builder.text
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tao_form-1.0.0.beta.2 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-1.0.0.beta.1 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.2.3 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.2.2 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.2.1 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.2.0 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.10 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.9 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.8 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.7 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.6 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.5 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.4 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.3 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.2 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.1 lib/tao_form/inputs/collection_check_boxes_input.rb
tao_form-0.1.0 lib/tao_form/inputs/collection_check_boxes_input.rb