mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 09:19:24 +01:00
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
27 lines
1.3 KiB
Text
27 lines
1.3 KiB
Text
@model BTCPayServer.Models.StoreViewModels.CreateStoreViewModel
|
|
|
|
<form asp-action="CreateStore">
|
|
@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 w-300px" required />
|
|
<span asp-validation-for="Name" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="DefaultCurrency" class="form-label" data-required></label>
|
|
<input asp-for="DefaultCurrency" class="form-control w-300px" currency-selection />
|
|
<span asp-validation-for="DefaultCurrency" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="PreferredExchange" class="form-label" data-required></label>
|
|
<select asp-for="PreferredExchange" asp-items="Model.Exchanges" class="form-select w-300px"></select>
|
|
<div class="form-text mt-2 only-for-js">The recommended price source gets chosen based on the default currency.</div>
|
|
<span asp-validation-for="PreferredExchange" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group mt-4">
|
|
<input type="submit" value="Create Store" class="btn btn-primary" id="Create" />
|
|
</div>
|
|
</form>
|