btcpayserver/BTCPayServer/Views/Manage/ChangePassword.cshtml

43 lines
1.4 KiB
Plaintext
Raw Normal View History

2017-09-13 08:47:34 +02:00
@model ChangePasswordViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.ChangePassword, "Change password");
2017-09-13 08:47:34 +02:00
}
<partial name="_StatusMessage" />
2020-07-08 19:20:11 +02:00
@if (!this.ViewContext.ModelState.IsValid)
{
<div class="row">
<div class="col-md-6">
<div asp-validation-summary="All" class="text-danger"></div>
</div>
</div>
}
2017-09-13 08:47:34 +02:00
<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>
2019-05-12 10:13:26 +02:00
<button type="submit" class="btn btn-primary" id="UpdatePassword">Update password</button>
2017-09-13 08:47:34 +02:00
</form>
</div>
</div>
@section Scripts {
@await Html.PartialAsync("_ValidationScriptsPartial")
}