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

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -