main
1<h2>Change your password</h2>
2
3<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
4 <%= devise_error_messages! %>
5 <%= f.hidden_field :reset_password_token %>
6
7 <div><%= f.label :password, "New password" %><br />
8 <%= f.password_field :password, :autofocus => true %></div>
9
10 <div><%= f.label :password_confirmation, "Confirm new password" %><br />
11 <%= f.password_field :password_confirmation %></div>
12
13 <div><%= f.submit "Change my password" %></div>
14<% end %>
15
16<%= render "devise/shared/links" %>