mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
452915478b
The status message is included in the NavLayout, hence the pages that use this layout should not include the status message. Fixes #2478.
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
@model ChangePasswordViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ManageNavPages.ChangePassword, "Change password");
|
|
}
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
}
|
|
<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 {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|