%= form_for('', :html => { :multipart => true }, :url => {:controller => 'exercise', :action => 'commit_exercise', :id => exercise.id },:remote=>true ) do |f| %>