summaryrefslogtreecommitdiffstats
path: root/templates/submit-form.tmpl
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-06-30 23:48:38 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-06-30 23:48:38 +0200
commitec2f803a306c7843a8814029b5e77a9dadffd136 (patch)
treef6d54a0a2808de835bed85d2e8eba5df2d633238 /templates/submit-form.tmpl
parent365added92d4faf26f03d14d303be5ac43706c48 (diff)
downloadnode-paste-ec2f803a306c7843a8814029b5e77a9dadffd136.tar.gz
node-paste-ec2f803a306c7843a8814029b5e77a9dadffd136.tar.xz
node-paste-ec2f803a306c7843a8814029b5e77a9dadffd136.zip
progress: templates/css, new router, paste module as db abstraction
Diffstat (limited to '')
-rw-r--r--templates/submit-form.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/submit-form.tmpl b/templates/submit-form.tmpl
new file mode 100644
index 0000000..5755356
--- /dev/null
+++ b/templates/submit-form.tmpl
@@ -0,0 +1,18 @@
+{{< base.tmpl}}
+
+{{+ content}}
+ <form action="/add" method="POST">
+ <fieldset>
+ <lable for="language">Language:</lable>
+ <select id="language" name="language">
+ <option value="plain">plain text</option>
+ <option value="javascript">JavaScript</option>
+ <option value="auto">auto detection</option>
+ </select>
+
+ <textarea name="content"></textarea>
+
+ <input class="submit" type="submit" value="paste" />
+ </fieldset>
+ </form>
+{{/ content}}