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 }}