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

15 lines
476 B
Plaintext

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