Reset your password

<%%= form_with(model: @<%= model_resource_name %>, url: password_reset_path(token: params[:token])) do |form| %> <%% if @<%= singular_table_name %>.errors.any? %>

<%%= pluralize(@<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:

<%% end %>
<%%= form.label :password, "New password (6 characters minimum)", style: "display: block" %> <%%= form.password_field :password, autofocus: true, autocomplete: "new-password" %>
<%%= form.label :password_confirmation, style: "display: block" %> <%%= form.password_field :password_confirmation, autocomplete: "new-password" %>
<%%= form.submit "Reset password" %>
<%% end %>
<%%= link_to "Sign in", sign_in_path %> | <%%= link_to "Sign up", sign_up_path %>