Sha256: 9e24ff5099e90c2477af9001a89cf1fe13d2a660481c48cf229e5669999f5a80

Contents?: true

Size: 405 Bytes

Versions: 64

Compression:

Stored size: 405 Bytes

Contents

module BootstrapForm
  module Select2

    def select2(method, choices = nil, options = {}, html_options = {}, &block)
      form_group_builder(method, options, html_options) do
        prepend_and_append_input(method, options) do
          @template.select2(@object_name, method, choices, objectify_options(options), @default_options.merge(html_options), &block)
        end
      end
    end

  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha15 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha14 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha13 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha12 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha11 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha10 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha9 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha8 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha7 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha6 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha5 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha4 lib/bootstrap_form/select2.rb
egov_utils-1.4.5 lib/bootstrap_form/select2.rb
egov_utils-1.4.4 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha3 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha2 lib/bootstrap_form/select2.rb
egov_utils-1.5.0.alpha1 lib/bootstrap_form/select2.rb
egov_utils-1.4.3 lib/bootstrap_form/select2.rb
egov_utils-1.4.2 lib/bootstrap_form/select2.rb