This project is archived and is in readonly mode.
Form labels have wrong for attribute when an index is given
Reported by Kevin Glowacz | April 30th, 2008 @ 04:31 PM
The following does not create the correct label:
fields_for("author[post]", @post, :index => 1) do |f|
f.label(:title)
f.text_field(:title)
end
expect
get
Comments and changes to this ticket
-
Kevin Glowacz April 30th, 2008 @ 04:33 PM
expect
<label for="author_post_1_title">
get
<label for="author_post_title">
-
Repository April 30th, 2008 @ 11:21 PM
- State changed from new to resolved
(from [c83f75812ef89aea1b8d138aebec25de8057f156]) Fixed labels that have a bracketed name and an index [#68 state:resolved]
Signed-off-by: Joshua Peek
-
Repository April 30th, 2008 @ 11:22 PM
(from [c83f75812ef89aea1b8d138aebec25de8057f156]) Fixed labels that have a bracketed name and an index [#68 state:resolved]
Signed-off-by: Joshua Peek
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>