diff options
author | Martin Ashby <martin@ashbysoft.com> | 2022-12-30 00:45:57 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2022-12-30 00:45:57 +0000 |
commit | 671f850c4fb72941c111edb6dff1030839b0dd55 (patch) | |
tree | e2e066891c85aba3eff5bb76c8e0d81a658a2cb9 /comments/templates/form.html | |
parent | 9be5acc275711d0a6a717ac5564a86185ec1d613 (diff) | |
download | mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.tar.gz mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.tar.bz2 mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.tar.xz mfashby.net-671f850c4fb72941c111edb6dff1030839b0dd55.zip |
Comments are basically functional.
Added example config.
Diffstat (limited to 'comments/templates/form.html')
-rw-r--r-- | comments/templates/form.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comments/templates/form.html b/comments/templates/form.html index 09fc81f..1f1692c 100644 --- a/comments/templates/form.html +++ b/comments/templates/form.html @@ -1,11 +1,11 @@ -<form action="/api/comments"> +<form action="{{ base_path }}/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="lname"> - <label for="capcha">{{ capcha_question }}</label> + <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> |