aboutsummaryrefslogtreecommitdiff
path: root/zig-comments/src/templates
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-08-14 23:03:57 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-08-22 10:10:02 +0100
commit89aae265bc3cfd03f4081ef1a8f034e538fef702 (patch)
treea507bf8b33eb10bf3a3143f1f5483b339eb0da9b /zig-comments/src/templates
parent6a8a204020449fee3d8ef5e6175932e3731389f0 (diff)
downloadmfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.tar.gz
mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.tar.bz2
mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.tar.xz
mfashby.net-89aae265bc3cfd03f4081ef1a8f034e538fef702.zip
align zig and rust implementations of comments
switch deploy script to zig version
Diffstat (limited to 'zig-comments/src/templates')
-rw-r--r--zig-comments/src/templates/form.html6
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>