1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{{define "title"}}Login{{end}} {{define "main"}} <h1>Login</h1> <form action="/u/auth" method="POST"> <label> Username <input type="text" placeholder="username" name="username" /> </label> <label> Secret <input type="password" placeholder="secret" name="secret" /> </label> <button type="submit">Login</button> </form> {{end}}