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