{{define "submission"}} {{if .Errors}}

Errors:

    {{range .Errors}}
  1. {{.}}
  2. {{end}}
{{else}} Profile successfully submitted. {{end}} {{end}}