Class: ExtForm::Inputs::GroupedCollectionSelect

Inherits:
SimpleForm::Inputs::GroupedCollectionSelectInput
  • Object
show all
Defined in:
lib/ext_form/inputs/grouped_collection_select.rb

Instance Method Summary collapse

Instance Method Details

#inputObject



4
5
6
7
8
9
# File 'lib/ext_form/inputs/grouped_collection_select.rb', line 4

def input
  label_method, value_method = detect_collection_methods
  @builder.grouped_collection_select2(attribute_name, grouped_collection,
                                      group_method, group_label_method, value_method, label_method,
                                      input_options, input_html_options)
end