diff options
| author | Alexander Kavon <me+git@alexkavon.com> | 2024-01-23 06:33:20 -0500 |
|---|---|---|
| committer | Alexander Kavon <me+git@alexkavon.com> | 2024-01-23 06:33:20 -0500 |
| commit | 8d92bdf7da95e1085485c0e60b9dac19c246e235 (patch) | |
| tree | 5c346f8bdb10b3b8084a3b9e95c727f7fa3914be /src/ui/pages/post/create.tmpl.html | |
| parent | 8510c36ded85740885e67b59ee2ec2360986c0a9 (diff) | |
move ui templates into src, update conf to handle other paths, export User Insert Hooks
Diffstat (limited to 'src/ui/pages/post/create.tmpl.html')
| -rw-r--r-- | src/ui/pages/post/create.tmpl.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ui/pages/post/create.tmpl.html b/src/ui/pages/post/create.tmpl.html new file mode 100644 index 0000000..385ed22 --- /dev/null +++ b/src/ui/pages/post/create.tmpl.html @@ -0,0 +1,20 @@ +{{define "title"}}Create Post{{end}} + +{{define "main"}} + <h1>Whatcha Got?</h1> + <form action="/p" method="POST"> + <label> + Title + <input type="text" placeholder="NYC Voted Best Place to Live By NYers" name="title" /> + <span>Title will be automatically pulled from URL if not provided.</span> + </label> + <label> + Description + <textarea placeholder="Spit it out already." name="description"></textarea> + </label> + <label> + URL + <input type="url" placeholder="https://cheesy.pizza/01/01/1970/first-post" name="url" /> + <button type="submit">Yup</button> + </form> +{{end}} |
