aboutsummaryrefslogtreecommitdiff
path: root/ui/pages/post/create.tmpl.html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/pages/post/create.tmpl.html')
-rw-r--r--ui/pages/post/create.tmpl.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/ui/pages/post/create.tmpl.html b/ui/pages/post/create.tmpl.html
new file mode 100644
index 0000000..385ed22
--- /dev/null
+++ b/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}}