2019-11-15 03:40:35 +01:00
|
|
|
h1 Reset password
|
|
|
|
|
2024-04-29 02:55:27 +02:00
|
|
|
= form_for @changeset, ~p"/passwords/#{@token}", fn f ->
|
2019-11-15 03:40:35 +01:00
|
|
|
= if @changeset.action do
|
|
|
|
.alert.alert-danger
|
|
|
|
p Oops, something went wrong! Please check the errors below.
|
|
|
|
|
|
|
|
.field
|
2021-02-26 06:47:45 +01:00
|
|
|
= password_input f, :password, class: "input", placeholder: "New password", minlength: 12
|
2019-11-15 03:40:35 +01:00
|
|
|
= error_tag f, :password
|
|
|
|
|
|
|
|
.field
|
2021-02-26 06:47:45 +01:00
|
|
|
= password_input f, :password_confirmation, class: "input", placeholder: "Confirm new password", minlength: 12
|
2020-01-27 00:09:37 +01:00
|
|
|
= error_tag f, :password_confirmation
|
2019-11-15 03:40:35 +01:00
|
|
|
|
2020-07-28 22:56:26 +02:00
|
|
|
div
|
|
|
|
= submit "Submit", class: "button"
|