mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 14:50:50 +01:00
49 lines
1.9 KiB
Text
49 lines
1.9 KiB
Text
|
@model BTCPayServer.Controllers.ResetUserPasswordFromAdmin
|
||
|
@{
|
||
|
ViewData.SetActivePage(ServerNavPages.Users, "Reset Password");
|
||
|
}
|
||
|
|
||
|
<form method="post" asp-action="ResetUserPassword">
|
||
|
<div class="sticky-header">
|
||
|
<nav aria-label="breadcrumb">
|
||
|
<ol class="breadcrumb">
|
||
|
<li class="breadcrumb-item">
|
||
|
<a asp-action="ListUsers">Users</a>
|
||
|
</li>
|
||
|
<li class="breadcrumb-item active" aria-current="page">@ViewData["Title"]</li>
|
||
|
</ol>
|
||
|
<h2 text-translate="true">@ViewData["Title"]</h2>
|
||
|
</nav>
|
||
|
<button id="page-primary" type="submit" class="btn btn-primary" name="command" value="Save">Reset Password</button>
|
||
|
</div>
|
||
|
<partial name="_StatusMessage" />
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-xl-6 col-xxl-constrain">
|
||
|
@if (!ViewContext.ModelState.IsValid)
|
||
|
{
|
||
|
<div asp-validation-summary="ModelOnly"></div>
|
||
|
}
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Email" class="form-label"></label>
|
||
|
<input asp-for="Email" required="required" class="form-control" readonly />
|
||
|
<span asp-validation-for="Email" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="Password" class="form-label"></label>
|
||
|
<input asp-for="Password" required class="form-control" />
|
||
|
<span asp-validation-for="Password" class="text-danger"></span>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label asp-for="ConfirmPassword" class="form-label"></label>
|
||
|
<input asp-for="ConfirmPassword" required class="form-control" />
|
||
|
<span asp-validation-for="ConfirmPassword" class="text-danger"></span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
@section PageFootContent {
|
||
|
<partial name="_ValidationScriptsPartial" />
|
||
|
}
|