Sha256: 20f478e2b33790a481a56c1c2ee6900eb9d4057f9428c8a37c7e32371be473e3
Contents?: true
Size: 464 Bytes
Versions: 12
Compression:
Stored size: 464 Bytes
Contents
module SimpleForm module Inputs class CollectionSelectInput < CollectionInput def input(wrapper_options = nil) label_method, value_method = detect_collection_methods merged_input_options = merge_wrapper_options(input_html_options, wrapper_options) @builder.collection_select( attribute_name, collection, value_method, label_method, input_options, merged_input_options ) end end end end
Version data entries
12 entries across 12 versions & 3 rubygems