24 lines
803 B
HTML
24 lines
803 B
HTML
{{ define "content" }}
|
|
<h2>Login</h2>
|
|
<form method="POST" action="/account/login" class="form">
|
|
<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
|
|
|
|
<div class="mb-3">
|
|
<label for="username">Username:</label>
|
|
<input type="text" name="username" id="username" required class="form-control">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="password">Password:</label>
|
|
<input type="password" name="password" id="password" required class="form-control">
|
|
</div>
|
|
|
|
<div class="form-check mb-3">
|
|
<input type="checkbox" name="remember" id="remember" class="form-check-input">
|
|
<label for="remember" class="form-check-label">Remember Me</label>
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Login</button>
|
|
</form>
|
|
{{ end }}
|