mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
* Store selector * Footer * Notifications * Checkout Appearance * Users list * Forms * Emails * Pay Button * Edit Dictionary * Remove newlines, fix typos * Forms * Pull payments and payouts * Various pages * Use local docs link * Fix * Even more translations * Fixes #6325 * Account pages * Notifications * Placeholders * Various pages and components * Add more
36 lines
1.4 KiB
Text
36 lines
1.4 KiB
Text
@model BTCPayServer.Models.ManageViewModels.SetPasswordViewModel
|
|
@{
|
|
ViewData.SetActivePage(ManageNavPages.ChangePassword, StringLocalizer["Set your password"]);
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<h2 text-translate="true">@ViewData["Title"]</h2>
|
|
<button id="page-primary" type="submit" class="btn btn-primary">Set Password</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<p class="text-info" text-translate="true">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">
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All"></div>
|
|
}
|
|
<div class="form-group">
|
|
<label asp-for="NewPassword" class="form-label"></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" class="form-label"></label>
|
|
<input asp-for="ConfirmPassword" class="form-control" />
|
|
<span asp-validation-for="ConfirmPassword" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|