{if $errorMessage}
    <p class="alert alert-danger text-center">
        {$errorMessage}
    </p>
{/if}

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

<form method="post" action="{routePath('password-reset-security-verify')}"  class="form-stacked">
    <div class="form-group">
        <label for="inputAnswer">{$securityQuestion}</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-key"></i></span>
            </div>
            <input type="text" name="answer" class="form-control" id="inputAnswer" autofocus>
        </div>
    </div>

    <div class="form-group">
        <button type="submit" class="btn btn-primary auth-submit-btn">
            <i class="far fa-shield-check"></i>
            {lang key='pwresetsubmit'}
        </button>
    </div>
</form>
