package components import ( "context" ) templ ForgotPassword(ctx context.Context, errorMessage string, successMessage string) { @LayoutWithContext("Forgot Password", ctx) {

Password Reset

Enter your email to receive a reset link

if errorMessage != "" { } if successMessage != "" { }

We'll send a password reset link to this email

Secure, encrypted connection
} } // Reset password page for when users click the link from their email templ ResetPassword(ctx context.Context, token string, errorMessage string) { @LayoutWithContext("Reset Password", ctx) {

Reset Password

Create a new password for your account

if errorMessage != "" { }

Minimum 8 characters

Passwords must match Passwords do not match

Secure, encrypted connection
} }