Report abuse

question

:disable_with is breaking my remote_form_for and making it work just like a normal form. Shouldn't this work?

template

<% labeled_remote_form_for :quantification, @q, :url => path, :html => {:method => meth} do |f| %>
  <%= %w[amount time distance repetition difficulty].map{|field| f.text_field field}.join %>
  

<%= submit_tag 'save', :disable_with => "saving..." %> <% end %>


html

form fields...