This repository has been archived on 2022-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
Segfautils/static/testform.html
Odyssey346 cdd7bfbea7 new stuff cool ig
Signed-off-by: Odyssey346 <odyssey346@disroot.org>
2022-07-27 19:00:48 +02:00

28 lines
966 B
HTML

<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>
<br />
<input type="submit" value="Submit" />
</form>
</body>
</html>