when I’m using the label helper in a form contex, the label is getting downcased. Can I change this behavior?
example:
produce: “Things are getting big” but I want “Things Are Getting Big”
using rails 2.3
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See documentation. First parameter for the
labelis the name of the field it references, not label’s text. If there is no text provided, it uses field’s name (localized/humanized)Your label code produces
And you possibly need
You can do that with: