Reset password

<%= form_for @changeset, ~p"/passwords/#{@token}", fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %>
<%= password_input(f, :password, class: "input", placeholder: "New password", minlength: 12) %> <%= error_tag(f, :password) %>
<%= password_input(f, :password_confirmation, class: "input", placeholder: "Confirm new password", minlength: 12) %> <%= error_tag(f, :password_confirmation) %>
<%= submit("Submit", class: "button") %>
<% end %>