mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 06:47:50 +01:00
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
@model BTCPayServer.Models.StoreViewModels.CreateStoreViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(StoreNavPages.Create, "Create a new store");
|
|
}
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial"/>
|
|
}
|
|
|
|
<section>
|
|
<div class="container">
|
|
<partial name="_StatusMessage" />
|
|
|
|
<h2 class="mb-4">@ViewData["PageTitle"]</h2>
|
|
<div class="row">
|
|
<div class="col-lg-6">
|
|
<form asp-action="CreateStore">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></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 class="form-group mt-4">
|
|
<input type="submit" value="Create" class="btn btn-primary" id="Create" />
|
|
<a asp-action="ListStores" class="btn btn-link px-0 ms-3">Back to list</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|