Created
December 4, 2012 01:28
-
-
Save danbeaulieu/4199691 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in my _form.html.haml | |
= check_box :product, :exempt_from_schedule_policy | |
# as rendered in html | |
<input type="hidden" value="true" name="product[exempt_from_schedule_policy]"> | |
<input id="product_exempt_from_schedule_policy" type="checkbox" value="true" name="product[exempt_from_schedule_policy]" checked="checked"> | |
# post params as reported by firebug | |
utf8=%E2%9C%93&_method=put&authenticity_token=PtM7RQILcKoIzFi77abbFbobve9KEs5q9kCfofnZ8og%3D&product%5Bexempt_from_schedule_policy%5D=true&commit=Save+%26+continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment