mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
@using BTCPayServer.Services
|
|
@model CreateOfferingViewModel
|
|
|
|
@{
|
|
ViewData.SetActivePage(StoreNavPages.Subscriptions, StringLocalizer["New offering"]);
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<h2>@ViewData["Title"]</h2>
|
|
<div>
|
|
<button cheat-mode="true" type="submit" name="command" value="create-fake" class="btn btn-outline-info" id="fake-offering-button">
|
|
Create fake offering
|
|
</button>
|
|
<a><input id="page-primary" type="submit" value="Create" class="btn btn-primary" /></a>
|
|
</div>
|
|
</div>
|
|
|
|
<partial name="_StatusMessage" />
|
|
<div class="row">
|
|
<div class="col-xl-8 col-xxl-constrain">
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="ModelOnly"></div>
|
|
}
|
|
<div class="form-group">
|
|
<label asp-for="Name" class="form-label" data-required></label>
|
|
<input asp-for="Name" class="form-control" required />
|
|
<span asp-validation-for="Name" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|