loging template

This commit is contained in:
Dan Ballard 2015-04-29 21:45:12 -07:00
parent 81f521ab49
commit c6ededd3d3
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{{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}}