@model MileageTraker.Web.ViewModels.User.SetPasswordViewModel
@{
    ViewBag.Title = "Set Password";
}

@Html.Partial("_StatusMessage")

<h2 class="center-content">@ViewBag.Title</h2>

@using (Html.BeginForm("SetPassword", "User", FormMethod.Post, new { @class = "form-horizontal well center-content" }))
{
    @Html.Partial("_ValidationSummary")
    @Html.AntiForgeryToken()
    <fieldset>
        <legend>For @Model.Username</legend>
        @Html.EditorForModel()
        <div class="form-actions">
            <input type="submit" value="Change password" class="btn btn-primary" />
        </div>
    </fieldset>
}
