This project is archived and is in readonly mode.

#6188 new
Ben Mills

[Patch] Model name for default submit button value should be titleized

Reported by Ben Mills | December 18th, 2010 @ 02:24 AM

When a model name is more than one word, ex: Ticket Type, when using f.submit, the text of the submit button does not capitalize each word of the model. The text appears as Create Ticket type.

Attached is a patch to titleize the model name so that the text appears as Create Ticket Type.

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>

Pages