@model MileageTraker.Web.ViewModels.Account.NewPasswordViewModel

@{
    ViewBag.Title = "New 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("NewPassword", "Account", FormMethod.Post, new {@class = "form-login"})) {

    <div class="header"></div>
    
    <h2>@ViewBag.Title</h2>
    <p>Hello <strong>@Model.Username</strong>, please enter a new password below.</p>
    
    @Html.AntiForgeryToken()
    @Html.Partial("_ValidationSummary")

    <fieldset>
        <legend></legend>
        @Html.EditorForModel()
        <input type="submit" value="Set Password" class="btn btn-primary" />
    </fieldset>
}

