transmet/templates/pages/login.html

10 lines
417 B
HTML

{{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"/>
<input class="btn btn-lg btn-primary btn-block" type="submit" value="Login" />
</form>
{{end}}