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

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -