@model PasswordRecoveryConfirmModel
@{
    Layout = "_ColumnsOne";

    //title
    NopHtml.AddTitleParts(T("PageTitle.PasswordRecovery").Text);
    //page class
    NopHtml.AppendPageCssClassParts("html-password-recovery-page");
}
<div class="page password-recovery-page">
    <div class="page-title">
        <h1>@T("Account.PasswordRecovery")</h1>
    </div>
    <div class="page-body">
        @if (!string.IsNullOrEmpty(Model.Result))
        {
            <div class="result alert alert-success">
                @Model.Result
            </div>
            <div class="buttons">
                <a href="@Model.ReturnUrl" class="btn btn-primary button-1">@T("Common.Continue")</a>
            </div>
        }
        @if (!Model.DisablePasswordChanging)
        {
    <form asp-route="PasswordRecoveryConfirm" asp-route-token="@Context.Request.Query["token"]" asp-route-guid="@Context.Request.Query["guid"]" method="post" autocomplete="off">
        <div asp-validation-summary="ModelOnly" class="message-error alert alert-danger"></div>
        <div class="fieldset">
            <div class="form-fields">
                <div class="row mb-3">
                    <label asp-for="NewPassword" asp-postfix=":" class="col-sm-12 col-md-4 col-lg-4 col-xl-4 col-form-label pl-0 pr-0 pt-0 pm-0"></label>
                    <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5">
                        <input asp-for="NewPassword" class="form-control" />
                    </div>
                    <div class="col-sm-12 col-md-3 col-lg-3 col-xl-3 required-error">
                        <span asp-validation-for="NewPassword"></span>
                        <strong class="d-none d-md-block d-lg-block d-xl-block"><nop-required /></strong>
                    </div>
                </div>
                <div class="row mb-3">
                    <label asp-for="ConfirmNewPassword" asp-postfix=":" class="col-sm-12 col-md-4 col-lg-4 col-xl-4 col-form-label pl-0 pr-0 pt-0 pm-0"></label>
                    <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5">
                        <input asp-for="ConfirmNewPassword" class="form-control" />
                    </div>
                    <div class="col-sm-12 col-md-3 col-lg-3 col-xl-3 required-error">
                        <span asp-validation-for="ConfirmNewPassword"></span>
                        <strong class="d-none d-md-block d-lg-block d-xl-block"><nop-required /></strong>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="offset-md-4 offset-lg-4 offset-xl-4 col-md-6 col-lg-6 col-xl-6">
                <div class="buttons">
                    <button type="submit" name="set-password" class="btn btn-primary button-1 new-password-button">@T("Account.PasswordRecovery.ChangePasswordButton")</button>
                </div>
            </div>
        </div>
    </form>
        }
    </div>
</div>