diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2012-04-24 09:25:54 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2012-04-24 09:25:54 +0400 |
commit | e6de2084ef8a98c04e300b4cff273a62bfdc7dc7 (patch) | |
tree | af2498b058818141ca5cf751829785c4e5cf3834 /actionpack/lib/action_view | |
parent | 50f79daf593c61e43efa8ce549fac56281210020 (diff) | |
download | rails-e6de2084ef8a98c04e300b4cff273a62bfdc7dc7.tar.gz rails-e6de2084ef8a98c04e300b4cff273a62bfdc7dc7.tar.bz2 rails-e6de2084ef8a98c04e300b4cff273a62bfdc7dc7.zip |
Missed checked in Form Helper example
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index ad097f2eb7..8e7224937d 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -902,7 +902,7 @@ module ActionView # # Let's say that @post.validated? is 1: # check_box("post", "validated") # # => <input name="post[validated]" type="hidden" value="0" /> - # # <input type="checkbox" id="post_validated" name="post[validated]" value="1" /> + # # <input checked="checked" type="checkbox" id="post_validated" name="post[validated]" value="1" /> # # # Let's say that @puppy.gooddog is "no": # check_box("puppy", "gooddog", {}, "yes", "no") |