{{template "top" .}}

<div class="container" style="margin-top: 100px;">
    <div class="col-12">
        <h1>Register</h1>
        {{ .msg }}<br>
        <form method="post">
            <div class="form-floating mb-3">
                <input type="text" class="form-control" name="username" id="floatingInput" placeholder="Username">
                <label for="floatingInput">Username</label>
            </div>
            <div class="form-floating">
                <input type="password" class="form-control" name="password" id="floatingPassword" placeholder="Password">
                <label for="floatingPassword">Password</label>
            </div>
            <br>
            {{.CaptchaHTML}} <br>
            <div class="form-floating">
                <input type="text" class="form-control" name="captcha" id="floatingPassword" placeholder="Captcha">
                <label for="floatingPassword">Captcha</label>
            </div>
            <input type="submit" class="btn btn-success btn-lg" value="Register" style="margin-top:10px;"></input>
        </form>
        <a href="/login">Login</a>
    </div>
</div>
        {{template "bottom" .}}