This project is archived and is in readonly mode.

#5267 ✓committed
Carlos Antonio da Silva

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

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

Referenced by

Pages