# File lib/simple_form/action_view_extensions/builder.rb, line 38 def collection_radio(attribute, collection, value_method, text_method, options={}, html_options={}) render_collection( attribute, collection, value_method, text_method, options, html_options ) do |value, text, default_html_options| radio_button(attribute, value, default_html_options) + label(sanitize_attribute_name(attribute, value), text, :class => "collection_radio") end end