package templates import "fiber-sessions/app/types" type PageContext struct { Title string ActivePage string User *types.User } type ValidateFormContent struct { Validated bool StrValue string HasStrValueError bool StrValueError string NumValue string HasNumValueError bool NumValueError string } type LoginFormValidationContent struct { Validated bool Username string UsernameError string Password string PasswordError string LoginError string }