From 76cdb96966591fe184ce2dfe3608f47362baf6fb Mon Sep 17 00:00:00 2001 From: H3ALY Date: Tue, 28 Oct 2025 14:37:21 +0000 Subject: [PATCH] update signup html --- web/templates/account/signup.html | 98 +++++++++++++++++++++++++------ 1 file changed, 79 insertions(+), 19 deletions(-) diff --git a/web/templates/account/signup.html b/web/templates/account/signup.html index 77c9162..452ef7a 100644 --- a/web/templates/account/signup.html +++ b/web/templates/account/signup.html @@ -1,43 +1,103 @@ {{ define "content" }}

Create your account

-{{ if .Flash }}
{{ .Flash }}
{{ end }} + +{{ if .Flash }} + +{{ end }}
+ {{ $form := .Form }} + {{ $errs := .Errors }} +
- - - {{ with .Errors }}{{ with index . "username" }}
{{ . }}
{{ end }}{{ end }} + + + {{ if $errs }} + {{ with index $errs "username" }} +
{{ . }}
+ {{ end }} + {{ end }}
- - - {{ with .Errors }}{{ with index . "email" }}
{{ . }}
{{ end }}{{ end }} + + + {{ if $errs }} + {{ with index $errs "email" }} +
{{ . }}
+ {{ end }} + {{ end }}
- - - {{ with .Errors }}{{ with index . "password" }}
{{ . }}
{{ end }}{{ end }} + + + {{ if $errs }} + {{ with index $errs "password" }} +
{{ . }}
+ {{ end }} + {{ end }} +
Minimum 8 characters.
- - - {{ with .Errors }}{{ with index . "password_confirm" }}
{{ . }}
{{ end }}{{ end }} + + + {{ if $errs }} + {{ with index $errs "password_confirm" }} +
{{ . }}
+ {{ end }} + {{ end }}
- + - {{ with .Errors }}{{ with index . "accept_terms" }}
{{ . }}
{{ end }}{{ end }} + {{ if $errs }} + {{ with index $errs "accept_terms" }} +
{{ . }}
+ {{ end }} + {{ end }}
-{{ end }} \ No newline at end of file +{{ end }}