Sha256: 96fe9137de54fc3a65664a6e63c4bd1f900f2de922cd4de233a98626a0f30b19
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
module CustomInputs class DropdownSelectInput < SimpleForm::Inputs::CollectionInput include UiBibz::Ui::Core def input(wrapper_options) label_method, value_method = detect_collection_methods i = UiBibz::Ui::Core::DropdownSelectField.new(attribute_name, options, input_html_options) @builder.collection_select( attribute_name, collection, value_method, label_method, input_options, i.html_options ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems