From 3d1095563c7d6f3e32bddbf9008607d921061e58 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Thu, 2 Feb 2012 09:23:07 -0200 Subject: Replicate :form html5 attribute to hidden field for check_box When the new html5 attribute :form is given to the check_box helper, it should be replicated to the hidden field as well. Closes #4848 --- actionpack/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 0dafef90ae..38d5f0b4e5 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,8 @@ ## Rails 4.0.0 (unreleased) ## +* check_box with `:form` html5 attribute will now replicate the `:form` + attribute to the hidden field as well. *Carlos Antonio da Silva* + * `label` form helper accepts :for => nil to not generate the attribute. *Carlos Antonio da Silva* * Add `:format` option to number_to_percentage *Rodrigo Flores* -- cgit v1.2.3