<p class="auth-form__subtitle text-left mb-4">{lang key='pwresetenternewpw'}</p>

<form class="using-password-strength" method="POST" action="{routePath('password-reset-change-perform')}">
    <input type="hidden" name="answer" id="answer" value="{$securityAnswer}" />

    <div id="newPassword1" class="form-group has-feedback">
        <label class="control-label" for="inputNewPassword1">{lang key='newpassword'}</label>
        <div class="auth-input-group input-group input-group-merge">
            <div class="input-group-prepend">
                <span class="input-group-text"><i class="fas fa-lock"></i></span>
            </div>
            <input type="password" name="newpw" id="inputNewPassword1" class="form-control" autocomplete="off" />
        </div>
    </div>

    <div id="newPassword2" class="form-group has-feedback">
        <label class="control-label" for="inputNewPassword2">{lang key='confirmnewpassword'}</label>
        <div class="auth-input-group input-group input-group-merge">
            <div class="input-group-prepend">
                <span class="input-group-text"><i class="fas fa-lock"></i></span>
            </div>
            <input type="password" name="confirmpw" id="inputNewPassword2" class="form-control" autocomplete="off" />
        </div>
        <div id="inputNewPassword2Msg"></div>
    </div>

    <div class="form-group">
        <label class="control-label">{lang key='pwstrength'}</label>
        {include file="$template/includes/pwstrength.tpl"}
    </div>

    <div class="form-group">
        <div class="text-center auth-form__actions">
            <button class="btn btn-primary auth-submit-btn" type="submit" name="submit">
                <i class="far fa-lock"></i>
                {lang key='clientareasavechanges'}
            </button>
            <button class="btn btn-default" type="reset">{lang key='cancel'}</button>
        </div>
    </div>

</form>
