Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [337c361e26fe5647036f94556fe792535a921f93] by Hongli Lai (Phusion)

Revision 337c361e26fe5647036f94556fe792535a921f93, committed by Hongli Lai (Phusion) · November 18th, 2008 @ 07:50 PM

Register 'checked' as an HTML boolean attribute.

This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected

instead of the old

The latter would result in a checkbox that's initially checked.

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

2 changed files

  • M actionpack/lib/action_view/helpers/tag_helper.rb
  • M actionpack/test/template/form_tag_helper_test.rb