@model MemberCenter.Web.Models.Account.ChangePasswordViewModel

<h1>Change Password</h1>
@if (ViewData["Result"] is string result)
{
  <p>@result</p>
}
<div asp-validation-summary="All"></div>
<form method="post">
  <label>Current Password</label>
  <input asp-for="CurrentPassword" type="password" />
  <span asp-validation-for="CurrentPassword"></span>

  <label>New Password</label>
  <input asp-for="NewPassword" type="password" />
  <span asp-validation-for="NewPassword"></span>

  <label>Confirm Password</label>
  <input asp-for="ConfirmPassword" type="password" />
  <span asp-validation-for="ConfirmPassword"></span>

  <button type="submit">Update Password</button>
</form>
