@model ForgotPasswordViewModel
@{
    ViewData["Title"] = "Forgot password";
}

<div class="page-heading compact">
    <div>
        <p class="eyebrow">Account</p>
        <h1>Forgot password</h1>
        <p class="lead-text">Enter your email address and, if an account exists, we will send a password reset link.</p>
    </div>
</div>

<section class="edit-panel">
    <form asp-action="ForgotPassword" method="post" class="asset-create-form">
        <div asp-validation-summary="ModelOnly" class="alert alert-warning"></div>

        <div class="row g-3">
            <div class="col-md-6">
                <label class="form-label" asp-for="Email">Email address</label>
                <input class="form-control" asp-for="Email" autocomplete="email" />
                <span class="text-danger" asp-validation-for="Email"></span>
            </div>
        </div>

        <div class="button-row mt-3">
            <button class="btn btn-primary" type="submit">Send reset link</button>
            <a class="btn btn-outline-secondary" asp-action="Login">Back to login</a>
        </div>
    </form>
</section>

@section Scripts {
    <partial name="_ValidationScriptsPartial" />
}
