How can I add placeholder text to my f.text_field fields so that the text comes pre-written by default, and when a user click inside the fields, the te
placeholder
f.text_field
In Rails 4(Using HAML):
=f.text_field :first_name, class: 'form-control', autofocus: true, placeholder: 'First Name'