diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
| commit | 7d7059d53891bc1abb284d9b288505a5d406b307 (patch) | |
| tree | f3ae7435a0a67ce1e5c939966738fea01bb9644e /ui | |
| parent | d7d2b376405d91a201b8b830160458c5dd6df4a9 (diff) | |
build ui and render templates, build routes
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/pages/users/create.tmpl.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ui/pages/users/create.tmpl.html b/ui/pages/users/create.tmpl.html new file mode 100644 index 0000000..381f6ea --- /dev/null +++ b/ui/pages/users/create.tmpl.html @@ -0,0 +1,20 @@ +{{define "title"}}Create User{{end}} + +{{define "main"}} + <h1>Registration</h1> + <form hx-post="/user"> + <label> + Email + <input type="email" placeholder="email" /> + </label> + <label> + Username + <input type="text" placeholder="username" /> + </label> + <label> + Password + <input type="password" placeholder="password" /> + </label> + <button type="submit">Register</button> + </form> +{{end}} |
