This project is archived and is in readonly mode.

Changeset [0f89ed5636f69c7ae75f99ca2a613b1918de5f95] 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...

Committed by Hongli Lai (Phusion)

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>