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-0.6.5 lib/bootstrap_form/select2.rb
egov_utils-0.6.4 lib/bootstrap_form/select2.rb
egov_utils-0.6.3 lib/bootstrap_form/select2.rb
egov_utils-0.6.2 lib/bootstrap_form/select2.rb
egov_utils-0.6.1 lib/bootstrap_form/select2.rb
egov_utils-0.6.0 lib/bootstrap_form/select2.rb
egov_utils-0.5.2 lib/bootstrap_form/select2.rb
egov_utils-0.5.1 lib/bootstrap_form/select2.rb
egov_utils-0.5.0 lib/bootstrap_form/select2.rb
egov_utils-0.4.18 lib/bootstrap_form/select2.rb
egov_utils-0.4.17 lib/bootstrap_form/select2.rb
egov_utils-0.4.16 lib/bootstrap_form/select2.rb
egov_utils-0.4.15 lib/bootstrap_form/select2.rb
egov_utils-0.4.14 lib/bootstrap_form/select2.rb
egov_utils-0.4.13 lib/bootstrap_form/select2.rb
egov_utils-0.4.10 lib/bootstrap_form/select2.rb
egov_utils-0.4.9 lib/bootstrap_form/select2.rb
egov_utils-0.4.7 lib/bootstrap_form/select2.rb
egov_utils-0.4.6 lib/bootstrap_form/select2.rb
egov_utils-0.4.5 lib/bootstrap_form/select2.rb