mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* updates * updates * updates * updates * updates * moves api key CTA to top right * updates * more updates * more updates * Fix active state when "Account" is selected * Update wording in subnav: Profile becomes Account * Fix email test * Update Emails wording * Try to fix email test * Make General first tab in store settings Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
54 lines
2.2 KiB
Text
54 lines
2.2 KiB
Text
@model BTCPayServer.Controllers.RegisterFromAdminViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Users, "Create account");
|
|
}
|
|
|
|
<h3 class="mb-4">@ViewData["Title"]</h3>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<form method="post" asp-action="CreateUser">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
|
|
<div class="form-group">
|
|
<label asp-for="Email" class="form-label"></label>
|
|
<input asp-for="Email" required="required" class="form-control"/>
|
|
<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" 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" class="form-control"/>
|
|
<span asp-validation-for="ConfirmPassword" class="text-danger"></span>
|
|
</div>
|
|
|
|
@if (ViewData["AllowIsAdmin"] is true)
|
|
{
|
|
<div class="form-group form-check">
|
|
<input asp-for="IsAdmin" type="checkbox" class="form-check-input"/>
|
|
<label asp-for="IsAdmin" class="form-check-label"></label>
|
|
<span asp-validation-for="IsAdmin" class="text-danger"></span>
|
|
</div>
|
|
}
|
|
|
|
|
|
@if (ViewData["AllowRequestEmailConfirmation"] is true)
|
|
{
|
|
<div class="form-group form-check">
|
|
<input asp-for="EmailConfirmed" type="checkbox" class="form-check-input"/>
|
|
<label asp-for="EmailConfirmed" class="form-check-label"></label>
|
|
<span asp-validation-for="EmailConfirmed" class="text-danger"></span>
|
|
</div>
|
|
}
|
|
|
|
<button id="Save" type="submit" class="btn btn-primary mt-2" name="command" value="Save">Create account</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|