@model EMIS.ViewModel.SystemView.ChangePasswordView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "ChangePassword"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
密码修改
@Html.Button(new ButtonOptions { OnClick = "Password_Save()", Icon = ButtonIcon.Save, Text = "保存" })
@Html.LabelFor(x => x.OldPassword): @Html.PasswordFor(x => x.OldPassword, new { placeholder = "请输入旧密码" }) @Html.ValidationMessageFor(x => x.OldPassword)
@Html.LabelFor(x => x.Password): @Html.PasswordFor(x => x.Password, new { placeholder = "请输入密码" })
@Html.LabelFor(x => x.PasswordRep): @Html.PasswordFor(x => x.PasswordRep, new { placeholder = "请再次输入密码" })
}