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 -

php - joomla get content in onBeforeCompileHead function -