blob: 5e1087a3d07d239de17731fe3f35e7c56689cf10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{define "title"}}Create User{{end}}
{{define "main"}}
<h1>Create User</h1>
<form hx-post="/user" action="/user" method="POST" hx-target="#messages" hx-swap="outerHTML">
<label>
Email
<input type="email" placeholder="email" name="email" />
</label>
<label>
Username
<input type="text" placeholder="username" name="username" />
</label>
<label>
Password
<input type="password" placeholder="password" name="password" />
</label>
<button type="submit" hx-disabled-elt="this">Create</button>
</form>
{{end}}
|