You could call it like this:
<%= label(:country, :name, "USA") %>

This is the method interface:
label(object_name, method, text = nil, options = {})




On May 13, 4:05 pm, zambezi <[email protected]> wrote:
> I've noticed that when using the form method Label, that the label
> text is translated to html with the first character in Upper Case and
> the remainder of the text string as lower case.
>
> <%= label(:country, "USA") %>  becomes  <label for="country_USA">Usa</
> label>
>
> I can't find any documentation on this unhelpful behavior.  Is there
> anyway way to override it and keep the text string in proper case.
>
> Thanks,
> Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to