ruby on rails - Naming form helper text f.input -
i using
<%= f.input :firstname %>
where firstname field in user model
however, text beside input box comes firstname, there way change text beside input box first_name instead?
if using simple_form gem try out
<%= f.input :firstname, label: 'first_name' %>
Comments
Post a Comment