Reword register home link to login link
This commit is contained in:
parent
07313fbda4
commit
f945e9eb0f
@ -45,7 +45,12 @@ func (p *RegisterForm) Validate() (valid bool) {
|
||||
|
||||
func NewRegister(usernameVal, passwordVal, confirmPassVal string) *Register {
|
||||
return &Register{
|
||||
Nav: templates.DefaultNavCollapse(),
|
||||
Nav: templates.NavCollapse{
|
||||
Links: []htmlx.Link{{
|
||||
Name: "Login",
|
||||
Href: "/",
|
||||
}},
|
||||
},
|
||||
Error: "",
|
||||
Warning: template.HTML(`<p>Your password will be stored in a safe, responsible manner; but don't trust my programming skills!</p><p class="mb-0">Maybe use a password here that you don't use for important things...</p>`),
|
||||
Form: htmlx.Form[RegisterForm]{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user