hydra-werther/internal/web/testdata/TestHTMLRenderer/external_template_happy_path/login.tmpl

13 lines
358 B
Cheetah
Raw Normal View History

{{- define "main" }}external template
WebBasePath: {{ .WebBasePath }};
2019-05-15 14:03:05 +02:00
Langs:
{{ range .LangPrefs }}{{ .Lang }};q={{ .Weight }},{{ end }}
2019-05-15 14:03:05 +02:00
Data:
CSRFToken: {{ .Data.CSRFToken }};
Challenge: {{ .Data.Challenge }};
LoginURL: {{ .Data.LoginURL }};
IsInvalidCredentials: {{ .Data.IsInvalidCredentials }};
IsInternalError: {{ .Data.IsInternalError }};
2019-05-15 14:03:05 +02:00
{{- end }}