<%= form_for(@xxx, :html => { :class => "xxx", :onsubmit=>"$('#submit').attr('disabled', true)" }) do |f| %>
2.transaction
<%= form_for(@xxx, :html => { :class => "xxx", :onsubmit=>"$('#submit').attr('disabled', true)" }) do |f| %>
2.transaction