I\'m trying to add an id tag to a form that I\'m creating in rails. The beginning of the form has the following code:
<%= form_for(@user) do |f| %>
This is new syntax
<%= form_for @user, html: {id: "my_form"} do |f| %> <% end %>