@model Weee.ViewModels.ProfileChangePasswordViewModel @section PageStyles { @Styles.Render("~/account/css") @Styles.Render("~/bootstrap/css") } @section PageScripts { @Scripts.Render("~/jQuery") @Scripts.Render("~/bootstrap") } @{ Layout = "~/Views/Shared/_Layout.cshtml"; }
@if (ViewBag.SuccessMessage != null) { } @if (ViewBag.FailMessage != null) { } @using (Html.BeginForm()) { @Html.AntiForgeryToken()

@Resource.StaticLabelChangePassword


@Html.LabelFor(model => model.OriginalPassword, new { @class = "control-label col-md-2" })
@Html.PasswordFor(model => model.OriginalPassword, new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.OriginalPassword, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewPassword, new { @class = "control-label col-md-2" })
@Html.PasswordFor(model => model.NewPassword, new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.NewPassword, null, new { @class = "text-danger" })
@Html.LabelFor(model => model.NewPassword2, new { @class = "control-label col-md-2" })
@Html.PasswordFor(model => model.NewPassword2, new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.NewPassword2, null, new { @class = "text-danger" })
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "index", "profile", new { }, new { @class = "btn btn-default" })
}