package pages import ( "git.grosinger.net/tgrosinger/saasitone/templ/components" "git.grosinger.net/tgrosinger/saasitone/pkg/form" "git.grosinger.net/tgrosinger/saasitone/pkg/page" ) type ResetPasswordForm struct { Password string `form:"password" validate:"required"` ConfirmPassword string `form:"password-confirm" validate:"required,eqfield=Password"` form.Submission } templ ResetPassword(p page.Page, f *ResetPasswordForm) {
@components.FieldErrors(f.Submission.GetFieldErrors("Password"))
@components.FieldErrors(f.Submission.GetFieldErrors("ConfigmPassword"))

@components.CSRF(p.CSRF)
}