@model Sevomin.Models.ChangePasswordViewModel @{ ViewBag.Title = "تغییر کلمه عبور"; } @Html.Partial("PostResult", ViewBag.Result as Sevomin.Models.PostResultViewModel)
@using (Html.BeginForm("ChangePassword", "Account", FormMethod.Post, new { role = "form" })) { @Html.AntiForgeryToken()
@Html.LabelFor(model => model.Password, new { @class = "control-label" })
@Html.PasswordFor(model => model.Password, new { @class = "form-control ltr" }) @Html.ValidationMessageFor(model => model.Password)
@Html.LabelFor(model => model.NewPassword, new { @class = "control-label" })
@Html.PasswordFor(model => model.NewPassword, new { @class = "form-control ltr" }) @Html.ValidationMessageFor(model => model.NewPassword)
@Html.LabelFor(model => model.ConfirmPassword, new { @class = "control-label" })
@Html.PasswordFor(model => model.ConfirmPassword, new { @class = "form-control ltr" }) @Html.ValidationMessageFor(model => model.ConfirmPassword)
}