<%= @page_title %>

<%= error_messages_for 'user' %>

Enter your new password in the fields below and click 'Change Password' to replace your current password with your new one.

<% form_tag :action => 'update_password' do %>
<%= password_field "updateuser", "password", :size => 40 %>
<%= password_field "updateuser", "password_confirmation", :size => 40 %>
<%= link_to 'Cancel', preferences_path %> <%= submit_tag 'Change password' %>
<% end %>