This is probably a little low question, but is there any neat way to change the label text in the helper shortcut ?
= f.label :name
give rise to
<input id="car_name" name="car[name]" size="30" type="text">
If I wanted to have the text in the label , say, your car instead of Name , how to do it?
One way is to write the tag tag directly as HTML, but it's a little messy ...
ruby-on-rails-3 label helper
user984621
source share