{{define "body"}}
<div class="page-header">
    <div class="row">
        <div class="col-xs-4 offset-4">
            <div class="card border-primary mx-auto">
                <div class="card-header">
                    <strong>{{.BodyTitle}}</strong>
                </div>
                <div class="card-body">
                    <form class="form-horizontal" action="/totp" method="post">
                        <input type="hidden" name="token" value="{{.Token}}">
                        <div class="form-group">
                            <label class="col-form-label" for="pin">PIN</label>
                            <input class="form-control input-sm" type="text" id="pin" name="pin" autocomplete="off" autofocus required>
                        </div>
                        <button class="btn btn-sm btn-primary" type="submit">Verify</button>
                        <a href="/logout" class="btn btn-sm btn-primary">Cancel</a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{{end}}
