This project is archived and is in readonly mode.
Label with I18n and html options require nil as text param
Reported by Carlos Antonio da Silva | August 1st, 2010 @ 07:59 PM
This patch fixes the label form helper to allow passing html options without forcing the text param to be given as nil. Better explained by examples:
Before: f.label :title, nil, :class => 'title'
After : f.label :title, :class => 'title'
Comments and changes to this ticket
-
Repository August 2nd, 2010 @ 01:52 AM
- State changed from new to committed
(from [11614bddc015deff7095bdf8bbe9f11e5d81ae1c]) Fix label form helper to use I18n and html options, without the need of 'nil' text param:
Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title'
[#5267 state:committed]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/11614bddc015deff7095bdf8bbe9f1...
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>
People watching this ticket
Attachments
Tags
Referenced by
- 5267 Label with I18n and html options require nil as text param [#5267 state:committed]