aboutsummaryrefslogtreecommitdiff
path: root/zig-comments/src/templates/form.html
blob: 8c492eabf028eeee7813f3b5ed6cff2c6b735e6b (plain)
1
2
3
4
5
6
7
8
9
10
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>