{{define "body"}}
<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="/" method="post">
                <input type="hidden" name="token" value="{{.Token}}">
                <div class="form-group">
                    <label class="col-form-label" for="user">Username</label>
                    <input class="form-control input-sm" type="text" id="user" name="user" autocomplete="off" value="{{.Data}}" autofocus required>
                </div>
                <div class="form-group">
                    <label class="col-form-label" for="password">Password</label>
                    <input class="form-control input-sm" type="password" id="password" name="password" required>
                </div>
                <div class="form-group">
                    <label class="col-form-label" for="repeat">Repeat</label>
                    <input class="form-control input-sm" type="password" id="repeat" name="repeat" required>
                </div>
                <button class="btn btn-sm btn-primary" type="submit">Create</button>
            </form>
        </div>
        </div>
    </div>
</div>
{{end}}
