{{ if .Success }} Yay, you changed your password! {{ else }} {{ $lenError := len .Error }} {{ $hasError := ne $lenError 0 }} {{ if $hasError }}
{{ .Error }}
{{ .Message }}
{{ end }} {{ if not .DontShowForm }}
Password
Submit
{{ end }} {{ end }}