GoWeb/templates/pages/login.html

17 lines
557 B
HTML

{{ define "pageTitle" }}Login{{ end }}
{{ define "content" }}
<h1>Login</h1>
<div class="container">
<form action="/login-handle" method="post">
<input name="csrf_token" type="hidden" value="{{ .CsrfToken }}">
<label for="username">Username:</label><br>
<input id="username" name="username" type="text" placeholder="John"><br><br>
<label for="password">Password:</label><br>
<input id="password" name="password" type="password"><br><br>
<input type="submit" value="Submit">
</form>
</div>
{{ end }}