Renew your password

<%= form_for(resource, as: resource_name, url: [resource_name, :password_expired], html: { method: :put }) do |f| %> <%= render partial: 'devise/shared/error_messages' %>

<%= 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 %>