ForgotPassword.cshtml
1.05 KB
@model CWA.CpoOnline.Models.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "", role = "form" }))
{
@Html.AntiForgeryToken()
<p>Enter your email address and click the button. You will receive an email with a link to reset your password.</p>
<hr />
<div class="row">
<div class="col-sm-12 col-md-8 col-lg-6">
@Html.ValidationSummary("", new { @class = "text-danger" })
<div class="form-group">
@Html.LabelFor(m => m.Email, new { @class = "control-label" })
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
</div>
<div class="row">
<div class="col-auto mr-auto">
@Html.ActionLink("Cancel", "login", "account", new { area = "" }, new { @class = "btn btn-outline-secondary" })
</div>
<div class="col-auto">
<input type="submit" value="Email Link" class="btn btn-primary" />
</div>
</div>
</div>
</div>
}
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
}