orbit-basic/app/views/devise/registrations/edit.html.erb

15 lines
476 B
Plaintext
Raw Normal View History

2012-02-22 06:43:24 +00:00
<%= form_for(resource, :as => resource_name, :url => users_passwd_path(resource_name), :html => { :method => :put, "form-type"=>"ajax_form" }) do |f| %>
<div><%= f.submit "Update" %></div>
2012-02-22 06:43:24 +00:00
<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>
<div><%= f.label :current_password %>
2012-02-22 06:43:24 +00:00
<%= f.password_field :current_password %></div>
<% end %>