1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{{define "title"}}Register{{end}} {{define "main"}} <h1>Registration</h1> <form hx-post="/user"> <label> Username <input type="text" placeholder="username" /> </label> <label> Password <input type="password" placeholder="password" /> </label> <button type="submit">Register</button> </form> {{end}}