mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-13 03:16:46 +01:00
The status message is included in the NavLayout, hence the pages that use this layout should not include the status message. Fixes #2478.
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
@model BTCPayServer.Models.ManageViewModels.SetPasswordViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ManageNavPages.ChangePassword, "Set password");
|
|
}
|
|
|
|
<h4>Set your password</h4>
|
|
|
|
<p class="text-info">
|
|
You do not have a local username/password for this site. Add a local
|
|
account so you can log in without an external login.
|
|
</p>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<form method="post">
|
|
<div asp-validation-summary="All" class="text-danger"></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">Set password</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|