<html>
<head>
<title>hCaptcha Demo</title>
<script src="https://hcaptcha.com/1/api.js" async defer></script>
</head>
<body>
<form action="/api/form" method="POST">
<input type="text" name="email" placeholder="Email" />
<select id="commentType" name="commentType" required="required">
<option value="" selected="selected" disabled="disabled">Select a type of comment</option>
<option value="Feedback">Feedback</option>
<option value="Suggestion">Suggestion</option>
<option value="Question">Question</option>
<option value="Bug">Bug</option>
</select>
<br />
<textarea id="comment" name="message" rows="4" cols="50">
Your message.
</textarea>
<div class="h-captcha" data-sitekey="{{ .SiteKey }}"></div>
<input type="submit" value="Submit" />
</form>
</body>
</html>