15 lines
513 B
Plaintext
15 lines
513 B
Plaintext
|
|
<%= 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 %>
|
|
<%= f.password_field :current_password %></div>
|
|
|
|
<div><%= f.label :password %>
|
|
<%= f.password_field :password %></div>
|
|
|
|
<div><%= f.label :password_confirmation %><br />
|
|
<%= f.password_field :password_confirmation %></div>
|
|
|
|
<% end %>
|