coauthor edit and destroy fixed

This commit is contained in:
harrybomrah committed 2012-12-03 12:23:56 +08:00
1 parent a0fc2caaf6
commit 7d865a65e2
4 files changed
+52 -4

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<%= form_for(resource, :as => resource_name, :url => users_passwd_path(resource_name), :html => { :method => :put, "form-type"=>"ajax_form" }) do |f| %>
<%= form_for(resource, :as => resource_name, :url => users_passwd_path(resource_name), :html => { :method => :put, "form-type"=>"ajax_form" ,"callback-method"=>"passwordUpdate" }) do |f| %>
<div><%= f.submit "Update" %></div>
<div><%= f.label :current_password %>