_ChangePasswordPartial.cshtml 767 B

123456789101112131415161718192021222324252627
  1. @model EMIS.Web.Models.LocalPasswordModel
  2. <h3>更改密码</h3>
  3. @using (Html.BeginForm("Manage", "Account")) {
  4. @Html.AntiForgeryToken()
  5. @Html.ValidationSummary()
  6. <fieldset>
  7. <legend>“更改密码”表单</legend>
  8. <ol>
  9. <li>
  10. @Html.LabelFor(m => m.OldPassword)
  11. @Html.PasswordFor(m => m.OldPassword)
  12. </li>
  13. <li>
  14. @Html.LabelFor(m => m.NewPassword)
  15. @Html.PasswordFor(m => m.NewPassword)
  16. </li>
  17. <li>
  18. @Html.LabelFor(m => m.ConfirmPassword)
  19. @Html.PasswordFor(m => m.ConfirmPassword)
  20. </li>
  21. </ol>
  22. <input type="submit" value="更改密码" />
  23. </fieldset>
  24. }