Sha256: 5b33b93f6430f5e74cb1602dae2e0d418777ca623a88f31a7cb0da94189d28b2

Contents?: true

Size: 479 Bytes

Versions: 15

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

module BootstrapForm
  module Inputs
    module CollectionRadioButtons
      extend ActiveSupport::Concern
      include Base
      include InputsCollection

      included do
        def collection_radio_buttons_with_bootstrap(*args)
          inputs_collection(*args) do |name, value, options|
            radio_button(name, value, options)
          end
        end

        bootstrap_alias :collection_radio_buttons
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/bootstrap_form-4.5.0/lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.4.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.3.2 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.3.1 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.3.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.2.3 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.2.2 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.2.1 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.2.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.1.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-5.0.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-4.5.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-4.4.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-4.3.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb
bootstrap_form-4.2.0 lib/bootstrap_form/inputs/collection_radio_buttons.rb