<form action="" method="post" id="create-user-form">
    <div class="form-group">
        <label for="email">Email:</label>
        <input type="email" class="form-control" id="email" name="email">

        <div id="email-error" class="user-input-error"></div>
    </div>

    <div class="form-group">
        <label for="username">Username:</label>
        <input type="text" class="form-control" id="username" name="username">

        <div id="username-error" class="user-input-error"></div>
    </div>

    <div class="form-group">
        <label for="password">Password:</label>
        <input type="password" class="form-control" id="password" name="password">

        <div id="password-error" class="user-input-error"></div>
    </div>

    <div class="form-group">
        <label for="country">Country:</label>
        <select name="country" id="country" class="form-control">
            <?php foreach ($distributors as $distributor) : ?>
                <option value="<?= $distributor->ctrID ?>"><?= $distributor->name ?></option>
            <?php endforeach; ?>
        </select>
    </div>

    <div class="checkbox">
        <label><input id="admin" name="admin" type="checkbox"> <b>Admin</b></label>
    </div>

    <div class="checkbox">
        <label><input id="rm_access" name="rm_access" type="checkbox"> <b>Resource Manager Access</b></label>
    </div>

    <div class="checkbox">
        <label><input id="weborder" name="weborder" type="checkbox"> <b>Weborder Access</b></label>
    </div>
</form>
<br />

<button id="save-user" class="btn btn-success">Save</button>