func Pages.NewPassword(ctx)
{
    var code = ctx.QueryParams.TryGetFirst("code");

     var pages = [
            {
                active = false,
                route = "/packages",
                text = "Packages"
            },
            {
                active =  false,
                route = "/upload",
                text = "Upload"
            },
            DB.LoginButton(ctx,true)
        ];

    var html = <div class={"container min-vh-100 d-flex justify-content-center align-items-center"}>
        <form action={"./new_password"} method={"post"} enctype={"application/x-www-form-urlencoded"}>
           
                <input type="hidden" name="code" value={code}>

                <div class={"mb-3"}>
                        <label for={"password"} class={"form-label"}>Password</label>
                        <input type={"password"} class={"form-control"} name={"password"} id={"password"}>
                </div>
                 <div class={"mb-3"}>
                        <label for={"confirm"} class={"form-label"}>Confirm Password</label>
                        <input type={"password"} class={"form-control"} name={"confirm"} id={"confirm"}>
                </div>
                
                <button type={"submit"} class={"btn btn-primary"}>Reset Password</button>
            </form>
    </div>;

    return Shell("Reset your password", pages, html);
}