FreeCAPTCHA/templates/index.html
2023-06-12 07:56:17 -06:00

32 lines
944 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/freecaptcha.css">
<title>FreeCAPTCHA</title>
</head>
<body>
<div id="root">
{% if incorrect_captcha %}
<div class="isa_error">
<i class="fa fa-error"></i>
Wrong CAPTCHA, try again!
</div>
{% endif %}
<form method="POST">
<div class='grid'>
{% for captcha_image in captcha_options %}
<label>
<input type="radio" name="captcha" value="{{ loop.index0 }}" checked>
<img src="data:image/png;base64,{{ captcha_image }}"></img>
</label>
{% endfor %}
</div>
<center><input type="submit" value="Submit"></input></center>
</form>
</div>
</body>
</html>