Sha256: 2741758eb4e499bc8bae09d70a84f5bc61cf02b234a28df7f3ceda2ff7fc9435
Contents?: true
Size: 670 Bytes
Versions: 44
Compression:
Stored size: 670 Bytes
Contents
module UiBibzInputs class UiRadioFieldInput < SimpleForm::Inputs::CollectionRadioButtonsInput include UiBibz::Ui::Core::Forms::Choices def input(wrapper_options) i = UiBibz::Ui::Core::Forms::Choices::RadioField.new(attribute_name, options, input_html_options) options[:item_wrapper_tag] = :div options[:item_wrapper_class] = i.html_options[:class] label_method, value_method = detect_collection_methods @builder.send(:"collection_radio_buttons", attribute_name, collection, value_method, label_method, input_options, i.html_options, &collection_block_for_nested_boolean_style ) end end end
Version data entries
44 entries across 44 versions & 1 rubygems