29 lines
934 B
Plaintext
29 lines
934 B
Plaintext
{{ define "title" -}}
|
|
{{( pgettext "Login" "title" )}}
|
|
{{- end }}
|
|
|
|
{{ define "content" -}}
|
|
<form method="post" action="/login">
|
|
<h2>{{( pgettext "Login" "title" )}}</h2>
|
|
{{ if . -}}
|
|
<div class="message" role="alert">
|
|
{{ range . -}}
|
|
<p>{{ . }}</p>
|
|
{{- end }}
|
|
</div>
|
|
{{- end }}
|
|
<fieldset>
|
|
<label>
|
|
{{( pgettext "Email" "input" )}}<br>
|
|
<input type="email" name="email" autocomplete="username" required autofocus><br>
|
|
</label><label>
|
|
{{( pgettext "Password" "input" )}}<br>
|
|
<input type="password" name="password" autocomplete="current-password" required><br>
|
|
</label>
|
|
</fieldset>
|
|
<footer>
|
|
<button type="submit">{{( pgettext "Login" "action" )}}</button>
|
|
</footer>
|
|
</form>
|
|
{{- end }}
|