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 [0f89ed5636f69c7ae75f99ca2a613b1918de5f95] by Hongli Lai (Phusion)

Revision 0f89ed5636f69c7ae75f99ca2a613b1918de5f95, 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