Originally, for a signup form on my site, I had this code for the beginning of the form:
<%= form_for(@user) do |f| %>
When I add this html id in the following code for the beginning of my form:
<%= form_for(@user, :html => { :id => 'payment-form' }) do |f| %>
The form no longer works.
Is there a way to still add the html id I specified above to my form while allowing my form to work? How can I go about doing that? Why doesn't the form actually process when I hit 'submit' after I add the html id.
Thanks so much!