2024-07-25 15:23:28 +09:00
|
|
|
@model ChangePasswordViewModel
|
2017-09-13 15:47:34 +09:00
|
|
|
@{
|
2021-12-16 11:17:02 +01:00
|
|
|
ViewData.SetActivePage(ManageNavPages.ChangePassword, "Change your password");
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|
2024-06-19 15:23:10 +02:00
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
<div class="sticky-header">
|
2024-07-25 22:46:02 +09:00
|
|
|
<h2 text-translate="true">@ViewData["Title"]</h2>
|
2024-07-25 15:23:28 +09:00
|
|
|
<button id="page-primary" type="submit" class="btn btn-primary">Update Password</button>
|
2024-06-19 15:23:10 +02:00
|
|
|
</div>
|
|
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xl-8 col-xxl-constrain">
|
|
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
|
|
{
|
|
|
|
<div asp-validation-summary="All"></div>
|
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
<div class="form-group">
|
2021-11-12 21:37:04 -08:00
|
|
|
<label asp-for="OldPassword" class="form-label" data-required></label>
|
2021-04-08 15:32:42 +02:00
|
|
|
<input asp-for="OldPassword" class="form-control"/>
|
2017-09-13 15:47:34 +09:00
|
|
|
<span asp-validation-for="OldPassword" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-11-12 21:37:04 -08:00
|
|
|
<label asp-for="NewPassword" class="form-label" data-required></label>
|
2021-04-08 15:32:42 +02:00
|
|
|
<input asp-for="NewPassword" class="form-control"/>
|
2017-09-13 15:47:34 +09:00
|
|
|
<span asp-validation-for="NewPassword" class="text-danger"></span>
|
|
|
|
</div>
|
2022-01-17 17:19:27 -08:00
|
|
|
<div class="form-group">
|
2021-11-12 21:37:04 -08:00
|
|
|
<label asp-for="ConfirmPassword" class="form-label" data-required></label>
|
2021-04-08 15:32:42 +02:00
|
|
|
<input asp-for="ConfirmPassword" class="form-control"/>
|
2017-09-13 15:47:34 +09:00
|
|
|
<span asp-validation-for="ConfirmPassword" class="text-danger"></span>
|
|
|
|
</div>
|
2024-06-19 15:23:10 +02:00
|
|
|
</div>
|
2017-09-13 15:47:34 +09:00
|
|
|
</div>
|
2024-06-19 15:23:10 +02:00
|
|
|
</form>
|
2017-09-13 15:47:34 +09:00
|
|
|
|
2021-05-19 04:39:27 +02:00
|
|
|
@section PageFootContent {
|
2021-04-08 15:32:42 +02:00
|
|
|
<partial name="_ValidationScriptsPartial" />
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|