Sha256: 40edda07a5d8e00d76ee066b9aee6c6c95d77981d31e0333979a0de058a5bcf9
Contents?: true
Size: 578 Bytes
Versions: 18
Compression:
Stored size: 578 Bytes
Contents
class RadioCollectionInput < SimpleForm::Inputs::CollectionRadioButtonsInput def input(wrapper_options) label_method, value_method = detect_collection_methods @builder.send("collection_radio_buttons", attribute_name, collection, value_method, label_method, input_options, input_html_options, &collection_block_for_nested_boolean_style ) end protected def build_nested_boolean_style_item_tag(collection_builder) collection_builder.radio_button + "<span class='radio_collection-bullet'></span>".html_safe + collection_builder.text end end
Version data entries
18 entries across 18 versions & 2 rubygems