# File lib/simple_form/action_view_extensions/builder.rb, line 80 def collection_check_boxes(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| default_html_options[:multiple] = true check_box(attribute, default_html_options, value, '') + label(sanitize_attribute_name(attribute, value), text, :class => "collection_check_boxes") end end