@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; Layout = "../Shared/_NavLayout.cshtml"; ViewData["NavPartialName"] = "../UIStores/_Nav"; ViewData.SetActivePage(StoreNavPages.Forms, $"{(isNew ? "Create" : "Edit")} Form", Model.Name); var storeId = Context.GetCurrentStoreId(); } @section PageHeadContent { } @section PageFootContent { }

@ViewData["Title"]

@if (!isNew) { View }
Standalone mode, which can be used to generate invoices independent of payment requests or apps.
Templates