text: ﻿@model ChangePasswordViewModel
  @{
      ViewData.SetActivePageAndTitle(ManageNavPages.ChangePassword, "Change password");
  }
  
  <partial name="_StatusMessage" />
  
  @if (!this.ViewContext.ModelState.IsValid)
  {
      <div class="row">
          <div class="col-md-6">
              <div asp-validation-summary="All" class="text-danger"></div>
          </div>
      </div>
  }
  
  <div class="row">
      <div class="col-md-6">
          <form method="post">
              <div class="form-group">
                  <label asp-for="OldPassword"></label>
                  <input asp-for="OldPassword" class="form-control" />
                  <span asp-validation-for="OldPassword" class="text-danger"></span>
              </div>
              <div class="form-group">
                  <label asp-for="NewPassword"></label>
                  <input asp-for="NewPassword" class="form-control" />
                  <span asp-validation-for="NewPassword" class="text-danger"></span>
              </div>
              <div class="form-group">
                  <label asp-for="ConfirmPassword"></label>
                  <input asp-for="ConfirmPassword" class="form-control" />
                  <span asp-validation-for="ConfirmPassword" class="text-danger"></span>
              </div>
              <button type="submit" class="btn btn-primary" id="UpdatePassword">Update password</button>
          </form>
      </div>
  </div>
  
  @section Scripts {
      @await Html.PartialAsync("_ValidationScriptsPartial")
  }
  