func Pages.NewUser(error)
{
    const html = <null>
    <if(TypeIsString(error))>
        <true>
            <blockquote>
                <h5>{error}</h5>
            </blockquote>
        </true>
    </if>
    <form hx-post="./newuser" hx-target="body" hx-push-url="true">
            <div class="padding">
                <h5>Create new user</h5>
                <div class="medium-padding">
                    <div class="field label border">
                        <input type="text" name="username">
                        <label>Username</label>
                    </div>
                    <div class="field label border">
                        <input type="password" name="password">
                        <label>Password</label>
                    </div>
                    <div class="field label border">
                        <input type="password" name="confirm">
                        <label>Confirm Password</label>
                    </div>
                    <div class="field middle-align">
                        <nav>
                            <div class="max">
                                <h6>Is Admin</h6>
                                <div>Is an administrator (will enable all toggles)</div>
                            </div>
                            <label class="switch">
                                <input type="checkbox" name="isAdmin">
                                <span></span>
                            </label>
                        </nav>
                    </div>
                    <div class="field middle-align">
                        <nav>
                            <div class="max">
                                <h6>Plugins</h6>
                                <div>Can use plugins</div>
                            </div>
                            <label class="switch">
                                <input type="checkbox" name="canUsePlugins">
                                <span></span>
                            </label>
                        </nav>
                    </div>
                    <div class="field middle-align">
                        <nav>
                            <div class="max">
                                <h6>Manage plugins</h6>
                                <div>Can manage plugins (will also enable Plugins)</div>
                            </div>
                            <label class="switch">
                                <input type="checkbox" name="canManagePlugins">
                                <span></span>
                            </label>
                        </nav>
                    </div>
                    <div class="field middle-align">
                        <nav>
                            <div class="max">
                                <h6>Database Download</h6>
                                <div>Can download database</div>
                            </div>
                            <label class="switch">
                                <input type="checkbox" name="canDownloadDB">
                                <span></span>
                            </label>
                        </nav>
                    </div>
                    
                    <div class="medium-padding">
                        <button>Create</button>
                    </div>
                </div>
            </div>
    </form>
</null>;

    return Components.Shell("New User",html ,3);
}