class ExtForm::Inputs::CollectionSelect

Public Instance Methods

input() click to toggle source
# File lib/ext_form/inputs/collection_select.rb, line 4
def input
  label_method, value_method = detect_collection_methods

  @builder.collection_select2(
      attribute_name, collection, value_method, label_method,
      input_options, input_html_options
  )
end