28 lines
460 B
Go
28 lines
460 B
Go
package templates
|
|
|
|
type PageContext struct {
|
|
Title string
|
|
ActivePage string
|
|
}
|
|
|
|
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
|
|
}
|