blob: 368784c9615a71f82430532b6a6c883fa7d8e6e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class PasswordResetRequests::NewPage < AuthLayout
needs operation : RequestPasswordReset
def content
h1 "Reset your password"
render_form(@operation)
end
private def render_form(op)
form_for PasswordResetRequests::Create do
mount Shared::Field, attribute: op.email, label_text: "Email", &.email_input
submit "Reset Password", flow_id: "request-password-reset-button"
end
end
end
|