@model IdentitySample.Models.ChangePasswordViewModel @{ //TODO: Until we have a way to specify the layout page at application level. Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Change Password"; }

@ViewBag.Title.

@using (Html.BeginForm("ChangePassword", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken()

Change Password Form


@Html.ValidationSummary("", new { @class = "text-danger" })
@Html.LabelFor(m => m.OldPassword, new { @class = "col-md-2 control-label" })
@Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
@Html.LabelFor(m => m.NewPassword, new { @class = "col-md-2 control-label" })
@Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
}