aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/text_helper.rb
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2008-11-18 20:45:55 +0100
committerJeremy Kemper <jeremy@bitsweat.net>2008-11-18 11:50:31 -0800
commit337c361e26fe5647036f94556fe792535a921f93 (patch)
treeb584abbf5c02f7ad0b9f138ed75771c98721129b /actionpack/lib/action_view/helpers/text_helper.rb
parent19e9a1f47db89fc94b1c1f0e8bd533c9e925f4d1 (diff)
downloadrails-337c361e26fe5647036f94556fe792535a921f93.tar.gz
rails-337c361e26fe5647036f94556fe792535a921f93.tar.bz2
rails-337c361e26fe5647036f94556fe792535a921f93.zip
Register 'checked' as an HTML boolean attribute.
This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack/lib/action_view/helpers/text_helper.rb')
0 files changed, 0 insertions, 0 deletions