transmet/templates/pages/login.html

11 lines
434 B
HTML
Raw Normal View History

2015-04-30 06:45:12 +02:00
{{define "body"}}
<form class="form-signin" action="/login" method="post" role="form">
<h2 class="form-signin-heading">Log in</h2>
{{template "flashes" .}}
<input type="text" class="form-control" name="username" placeholder="Username"/>
<input type="password" class="form-control" name="password" placeholder="Password"/>
{{ .csrfField }}
2015-04-30 06:45:12 +02:00
<input class="btn btn-lg btn-primary btn-block" type="submit" value="Login" />
</form>
{{end}}