2023-01-31 12:07:17 +00:00
|
|
|
{{ define "title" -}}
|
2023-02-01 10:02:32 +00:00
|
|
|
{{( pgettext "Login" "title" )}}
|
2023-01-31 12:07:17 +00:00
|
|
|
{{- end }}
|
|
|
|
|
2023-01-22 20:41:50 +00:00
|
|
|
{{ define "content" }}
|
2023-02-01 10:02:32 +00:00
|
|
|
{{ if .Errors -}}
|
|
|
|
<div class="error" role="alert">
|
|
|
|
{{ range $error := .Errors -}}
|
|
|
|
<p>{{ $error }}</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>
|
2023-01-22 20:41:50 +00:00
|
|
|
{{- end }}
|