Orbit/app/views/devise/registrations/edit.html.erb

15 lines
513 B
Plaintext
Raw Normal View History

2012-02-22 06:43:24 +00:00
2012-12-03 04:23:56 +00:00
<%= 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>
2012-02-22 06:43:24 +00:00
<div><%= f.label :current_password %>
<%= f.password_field :current_password %></div>
<div><%= f.label :password %>
2012-02-22 06:43:24 +00:00
<%= f.password_field :password %></div>
<div><%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation %></div>
<% end %>