aboutsummaryrefslogtreecommitdiff
path: root/comments/src/templates/form.html
diff options
context:
space:
mode:
Diffstat (limited to 'comments/src/templates/form.html')
-rw-r--r--comments/src/templates/form.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/comments/src/templates/form.html b/comments/src/templates/form.html
new file mode 100644
index 0000000..e7a836f
--- /dev/null
+++ b/comments/src/templates/form.html
@@ -0,0 +1,11 @@
+<form action="/api/comment" method="post">
+ <input type="hidden" name="url" value="{{url}}"><br>
+ <input type="hidden" name="capcha_id" value="{{capcha_id}}"><br>
+ <label for="author">Name:</label><br>
+ <input type="text" id="author" name="author"><br>
+ <label for="comment">Comment:</label><br>
+ <input type="text" id="comment" name="comment"><br>
+ <label for="capcha">{{ capcha_question }}</label><br>
+ <input type="text" id="capcha" name="capcha_answer"><br>
+ <input type="submit" value="Submit">
+</form>