GoWeb/templates/pages/login.html

14 lines
473 B
HTML
Raw Normal View History

{{ define "pageTitle" }}Login{{ end }}
{{ define "content" }}
<form action="/login-handle" method="post">
2022-12-05 01:06:51 +00:00
<input name="csrf_token" type="hidden" value="{{ .CsrfToken }}">
<label for="username">Username:</label><br>
2022-10-21 01:08:29 +00:00
<input id="username" name="username" type="text" value="John"><br><br>
<label for="password">Password:</label><br>
2022-10-21 01:08:29 +00:00
<input id="password" name="password" type="password"><br><br>
<input type="submit" value="Submit">
</form>
{{ end }}