23 lines
678 B
Plaintext
23 lines
678 B
Plaintext
{{ define "title" -}}
|
|
{{( pgettext "Login" "title" )}}
|
|
{{- end }}
|
|
|
|
{{ define "content" -}}
|
|
{{- /*gotype: dev.tandem.ws/tandem/tipus/pkg.loginForm*/ -}}
|
|
{{ if .Errors -}}
|
|
<div class="error" role="alert">
|
|
{{ range .Errors -}}
|
|
<p>{{ . }}</p>
|
|
{{- end }}
|
|
</div>
|
|
{{- end }}
|
|
<section id="login">
|
|
<h2>{{( pgettext "Login" "title" )}}</h2>
|
|
<form method="POST" action="/login">
|
|
{{ template "input-field" .Email }}
|
|
{{ template "input-field" .Password }}
|
|
<button type="submit">{{( pgettext "Login" "action" )}}</button>
|
|
</form>
|
|
</section>
|
|
{{- end }}
|