@using BTCPayServer.Forms @using Microsoft.AspNetCore.Mvc.TagHelpers @inject BTCPayServer.Security.ContentSecurityPolicies Csp @model BTCPayServer.Forms.ModifyForm @{ Csp.UnsafeEval(); var formId = Context.GetRouteValue("id"); var isNew = formId is null; ViewData.SetActivePage(StoreNavPages.Forms, $"{(isNew ? "Create" : "Edit")} Form", Model.Name); var storeId = Context.GetCurrentStoreId(); } @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