README.rdoc in simple_form-1.0.3 vs README.rdoc in simple_form-1.0.4
- old
+ new
@@ -236,10 +236,10 @@
=== Collection Check Box
Creates a collection of check boxes with labels associated (same API as collection_select):
form_for @user do |f|
- f.collection_check_box :options, [[true, 'Yes'] ,[false, 'No']], :first, :last
+ f.collection_check_boxes :options, [[true, 'Yes'] ,[false, 'No']], :first, :last
end
<input name="user[options][]" type="hidden" value="" />
<input id="user_options_true" name="user[options][]" type="checkbox" value="true" />
<label class="collection_check_box" for="user_options_true">Yes</label>