18 lines
543 B
HTML
18 lines
543 B
HTML
|
|
{{ define "content" }}
|
||
|
|
<h1>Login</h1>
|
||
|
|
{{ if .form.Error }}
|
||
|
|
<p>{{ .form.Error }}</p>
|
||
|
|
{{ end }}
|
||
|
|
<form action="/check-login" method="post" class="auth-form">
|
||
|
|
<div class="field">
|
||
|
|
<label for="name">Username</label>
|
||
|
|
<input type="text" id="name" name="name" autocomplete="off" required autofocus/>
|
||
|
|
</div>
|
||
|
|
<div class="field">
|
||
|
|
<label for="password">Password</label>
|
||
|
|
<input type="password" id="password" name="password" required/>
|
||
|
|
</div>
|
||
|
|
<br>
|
||
|
|
<input type="submit" value="Submit">
|
||
|
|
</form>
|
||
|
|
{{ end }}
|