{{template "header.html" .}}

Validation sample 2

{{if .errors}}

Oops, please correct these errors

{{end}}
User informations
{{.errors.username}}
{{.errors.firstname}}
{{.errors.lastname}}
{{.errors.age}}
Password
{{.errors.password}}
{{.errors.passwordConfirm}}
Email
{{.errors.email}}
{{.errors.emailConfirm}}
Conditions
Checking this box indicates that you accept terms of use. If you do not accept these terms, do not use this website :
{{.errors.termsOfUse}}
{{template "footer.html" .}}