<div class="context-main-bg context-main p-3">
    <legend class="text-center">Add User</legend>
    <hr>
    {ADMIN_BREADCRUMBS}
    <form method="post">
        <fieldset>
            <!-- Group -->
            <div class="mb-3 row">
                <label for="groupSelect" class="col-lg-6 col-form-label text-end">Group:</label>
                <div class="col-lg-2">
                    {groupSelect}
                </div>
            </div>

            <!-- Username -->
            <div class="mb-3 row">
                <label for="username" class="col-lg-6 col-form-label text-end">Username:</label>
                <div class="col-lg-2">
                    <input type="text" class="form-control" name="username" id="username" required>
                </div>
            </div>

            <!-- Email -->
            <div class="mb-3 row">
                <label for="email" class="col-lg-6 col-form-label text-end">Email:</label>
                <div class="col-lg-2">
                    <input type="email" class="form-control" name="email" id="email" required>
                </div>
            </div>

            <!-- Re-enter Email -->
            <div class="mb-3 row">
                <label for="email2" class="col-lg-6 col-form-label text-end">Re-Enter Email:</label>
                <div class="col-lg-2">
                    <input type="email" class="form-control" name="email2" id="email2" required>
                </div>
            </div>

            <!-- Password -->
            <div class="mb-3 row">
                <label for="password" class="col-lg-6 col-form-label text-end">Password:</label>
                <div class="col-lg-2">
                    <input type="password" class="form-control" name="password" id="password" required>
                </div>
            </div>

            <!-- Re-enter Password -->
            <div class="mb-3 row">
                <label for="password2" class="col-lg-6 col-form-label text-end">Re-Enter Password:</label>
                <div class="col-lg-2">
                    <input type="password" class="form-control" name="password2" id="password2" required>
                </div>
            </div>

            <!-- Confirmation -->
            <div class="mb-3 row">
                <label for="confirmation" class="col-lg-6 col-form-label text-end">Send Confirmation:</label>
                <div class="col-lg-2">
                    <div class="mb-3 form-check form-switch">
                        <input class="form-check-input" type="checkbox" role="switch" name="confirmation" id="confirmation" value="true">
                    </div>
                </div>
            </div>

            <!-- Hidden Token -->
            <input type="hidden" name="token" value="{TOKEN}">

            <!-- Submit Button -->
            <div class="text-center">
                <button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Create</button>
            </div>
        </fieldset>
    </form>
</div>