In the below form I need the :data_progression to be data-progression in the HTML.
Hyphen instead of underscore.
How do I achieve this? Have looked around but haven't come across a clear explanation.
<%= form_for @contact_form, :html => {:id => "myform"} do |f| %>
<p>
<%= f.text_field :name, :class => "first_name", :id => "first_name", :data_progession => "" %>Name & Number<br />
<%= f.text_field :email, :class => "email" %>E-mail<br />
<%= f.text_area :message, :class => "message", :placeholder => "Your Message Here*" %><br />
<%= f.submit "Send", :class => "button" %>
</p>
<% end %>