diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-08-04 22:29:41 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-08-22 10:10:02 +0100 |
commit | ff092976a9fdeeba96a0de13d013b9d838640c40 (patch) | |
tree | ec3b75a19f649059be8fbec118c79eac67788371 /zig-comments/src/templates/form.html | |
parent | e342ead779022fd1e2c4e2d6c1c1e8ecaade80de (diff) | |
download | mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.tar.gz mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.tar.bz2 mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.tar.xz mfashby.net-ff092976a9fdeeba96a0de13d013b9d838640c40.zip |
Convert comments to zig
Diffstat (limited to 'zig-comments/src/templates/form.html')
-rw-r--r-- | zig-comments/src/templates/form.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zig-comments/src/templates/form.html b/zig-comments/src/templates/form.html new file mode 100644 index 0000000..8c492ea --- /dev/null +++ b/zig-comments/src/templates/form.html @@ -0,0 +1,11 @@ +<form action="/api/comments" 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> |