@model MileageTraker.Web.ViewModels.Account.ResetPasswordViewModel

@{
    ViewBag.Title = "Forgot password?";
    Layout = "~/Views/Shared/_Layout.login.cshtml";
}
@section Styles
{
    <link href="@Url.Content("~/Content/Account.Login.css")" rel="stylesheet" type="text/css" />
}

@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new {@class = "form-login"})) {

    @Html.Partial("_StatusMessage")
        
    <div class="header"></div>
    
    <h2>@ViewBag.Title</h2>
    
    <p>Enter your username to 
        begin resetting your password. An email will
        be sent to you with instructions for completing the process.
    </p>

    @Html.AntiForgeryToken()
    @Html.Partial("_ValidationSummary")

    <fieldset>
        <legend></legend>
        @Html.EditorForModel()
        <input type="submit" value="Submit" class="btn btn-primary" />
        @Html.ActionLink("Log in", "Login", new { Model.Username }, new { @class = "pull-right" })
    </fieldset>
}
