diff options
Diffstat (limited to '')
-rw-r--r-- | templates/submit-form.tmpl | 18 |
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}} |