The view:
<%= form_for :blog_post do |f| %> <%= f.label :title %> <%= f.text_field :title, :type => \'
If you want to get rid of the utf8=✓ you may be interested in this gem, which adds it only to non-complying browsers: https://github.com/softace/utf8_enforcer_workaround
utf8=✓