Change Password
@using (Html.BeginForm("ChangePassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
}
@Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "form-control validate[required]", @placeholder = "Current Password" } })
@Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
@Html.EditorFor(model => model.NewPassword, new { htmlAttributes = new { @class = "form-control validate[required]", @placeholder = "New Password" } })
@Html.ValidationMessageFor(model => model.NewPassword, "", new { @class = "text-danger" })
@Html.EditorFor(model => model.ConfirmPassword, new { htmlAttributes = new { @class = "form-control validate[required,equals[NewPassword]]", @placeholder = "Confirm Password" } })
@Html.ValidationMessageFor(model => model.ConfirmPassword, "", new { @class = "text-danger" })