14 lines
688 B
Plaintext
14 lines
688 B
Plaintext
{{ define "content" }}
|
|
<form method="post">
|
|
{{ .csrfField }}
|
|
<input type="hidden" name="action" value="password-login"/>
|
|
{{ if .errors.Form}}<p>{{ .errors.Form }}</p>{{ end }}
|
|
{{ if .errors.Email }}<p>{{ .errors.Email }}</p>{{ end }}
|
|
<label for="email">{{ .LabelEmail }}</label>
|
|
<input type="text" id="email" name="email" value="{{ .Email }}"/><br/>
|
|
{{ if .errors.Password }}<p>{{ .errors.Password }}</p>{{ end }}
|
|
<label for="password">{{ .LabelPassword }}</label>
|
|
<input type="password" id="password" name="password" value=""/><br/>
|
|
<button type="submit">{{ .LabelLogin }}</button>
|
|
</form>
|
|
{{ end }} |