@using System.Globalization @using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Abstractions.Models @using BTCPayServer.Client @using BTCPayServer.TagHelpers @using BTCPayServer.Views.Apps @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Forms @inject FormDataService FormDataService @inject IFileService FileService @inject BTCPayServer.Security.ContentSecurityPolicies Csp @model BTCPayServer.Plugins.Crowdfund.Models.UpdateCrowdfundViewModel @{ ViewData.SetActivePage(AppsNavPages.Update, StringLocalizer["Update Crowdfund"], Model.AppId); Csp.UnsafeEval(); var canUpload = await FileService.IsAvailable(); var checkoutFormOptions = await FormDataService.GetSelect(Model.StoreId, Model.FormId); } @section PageHeadContent { } @section PageFootContent { }
@if (!ViewContext.ModelState.IsValid) {
}
@if (!string.IsNullOrEmpty(Model.MainImageUrl)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.MainImageUrl)) { Logo }
} else {
@ViewLocalizer["In order to upload, a {0} must be configured.", Html.ActionLink(StringLocalizer["file storage"], "Files", "UIServer")]
}
The crowdfund will be visible to anyone.

Goal

@StringLocalizer["Uses the store's default currency ({0}) if empty.", @Model.StoreDefaultCurrency]

Contributions

Crowdfund Behavior

Checkout

Additional Options

Delete this app