1 2 3 4 5 6 7 8
{{define "content"}} <h1>log in</h1> <form method="post" action="/login" class="stack"> <label>name <input name="name" required autofocus autocomplete="username"></label> <label>password <input name="password" type="password" required autocomplete="current-password"></label> <button>log in</button> </form> {{end}}