<!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="freecaptcha.css">
    <title>Tor Dev</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>