diff options
Diffstat (limited to 'zig-comments/src/templates/form.html')
-rw-r--r-- | zig-comments/src/templates/form.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zig-comments/src/templates/form.html b/zig-comments/src/templates/form.html index 8c492ea..3ec8eeb 100644 --- a/zig-comments/src/templates/form.html +++ b/zig-comments/src/templates/form.html @@ -1,6 +1,6 @@ -<form action="/api/comments" method="post"> - <input type="hidden" name="url" value="{{ url }}"><br> - <input type="hidden" name="capcha_id" value="{{ capcha_id }}"><br> +<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> |