{{ define "login" }}

log in

{{ if .Data.Error }}

{{ .Data.Error }}

{{ end }}
or, register instead
{{ end }}