9 lines
314 B
HTML
9 lines
314 B
HTML
{{ define "content" }}
|
|
<h2>Login</h2>
|
|
<form method="POST" action="/login">
|
|
{{ .csrfField }}
|
|
<label>Username: <input type="text" name="username" required></label><br>
|
|
<label>Password: <input type="password" name="password" required></label><br>
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
{{ end }} |