{{ define "register" }}

register

{{ if .Data.Error }}

{{ .Data.Error }}

{{ end }}
or, log in instead
{{ end }}