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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -