summaryrefslogtreecommitdiff
path: root/root/add_form
diff options
context:
space:
mode:
Diffstat (limited to 'root/add_form')
-rw-r--r--root/add_form14
1 files changed, 14 insertions, 0 deletions
diff --git a/root/add_form b/root/add_form
new file mode 100644
index 0000000..bbb608a
--- /dev/null
+++ b/root/add_form
@@ -0,0 +1,14 @@
+<html>
+<head>
+<title>add</title>
+</head>
+<body>
+<form action="[% base _ 'add' %]" method="post">
+<p>Link: <input name="url" type="text" value="[% link.url %]" /></p>
+<p>Title: <input name="title" type="text" value="[% link.title %]" /></p>
+<p>Description: <input name="descr" type="text" value="[% link.descr %]" /></p>
+<p>Tags: <input name="tag" type="text" value="[% tags.join(' ') %]" /></p>
+<input type="submit" />
+</form>
+</body>
+</html> \ No newline at end of file