<%= f.label :current_password, 'Current password' %>
<%= f.password_field :current_password %>
<%= f.label :password, 'New password' %>
<%= f.password_field :password %>
<%= f.label :password_confirmation, 'Confirm new password' %>
<%= f.password_field :password_confirmation %>
<%= f.submit 'Change my password' %>
<% end %>