@using BTCPayServer.Forms @using Microsoft.AspNetCore.Mvc.TagHelpers @inject BTCPayServer.Security.ContentSecurityPolicies Csp @model BTCPayServer.Forms.ModifyForm @{ Csp.UnsafeEval(); var storeId = Context.GetCurrentStoreId(); var formId = Context.GetRouteValue("id"); var isNew = formId is null; ViewData.SetActivePage(StoreNavPages.Forms, isNew ? StringLocalizer["Create Form"] : StringLocalizer["Edit Form"], Model.Name); } @section PageHeadContent { } @section PageFootContent { }
@if (!ViewContext.ModelState.IsValid) {
}
Standalone mode, which can be used to generate invoices independent of payment requests or apps.
Templates
Edit Field