module BootstrapForm::Inputs::GroupedCollectionSelect

Public Instance Methods

grouped_collection_select_with_bootstrap(method, collection, group_method, group_label_method, option_key_method, option_value_method, options={}, html_options={}) click to toggle source

Disabling Metrics/ParameterLists because the upstream Rails method has the same parameters rubocop:disable Metrics/ParameterLists

# File lib/bootstrap_form/inputs/grouped_collection_select.rb, line 12
def grouped_collection_select_with_bootstrap(method, collection, group_method,
                                             group_label_method, option_key_method,
                                             option_value_method, options={}, html_options={})
  form_group_builder(method, options, html_options) do
    input_with_error(method) do
      grouped_collection_select_without_bootstrap(method, collection, group_method,
                                                  group_label_method, option_key_method,
                                                  option_value_method, options, html_options)
    end
  end
end