aboutsummaryrefslogtreecommitdiff
path: root/ui/pages/auth/register.tmpl.html
diff options
context:
space:
mode:
authorAlexander Kavon <hawk@alexkavon.com>2023-11-27 17:52:06 -0500
committerAlexander Kavon <hawk@alexkavon.com>2023-11-27 17:52:06 -0500
commit21fb29d0eec71f3dd7c12e260af5925d452b238f (patch)
tree5252b9d0b07a0aa64de2b20680c0ef4283433143 /ui/pages/auth/register.tmpl.html
parent1d05f918887e9ba4576149513e5df0bb57e6bd72 (diff)
template files for registration page, updated cwd handling, included cwd and config file path in conf struct
Diffstat (limited to 'ui/pages/auth/register.tmpl.html')
-rw-r--r--ui/pages/auth/register.tmpl.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/ui/pages/auth/register.tmpl.html b/ui/pages/auth/register.tmpl.html
new file mode 100644
index 0000000..7dfd7aa
--- /dev/null
+++ b/ui/pages/auth/register.tmpl.html
@@ -0,0 +1,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}}