Add ability to setup anti forgery token and action values to confirm modal (#6940)

This commit is contained in:
Nicolas Dorier
2025-10-07 17:40:30 +09:00
committed by GitHub
parent 84c2caf2c8
commit e170ed1f91
3 changed files with 67 additions and 48 deletions

View File

@@ -23,11 +23,13 @@ namespace BTCPayServer.Abstractions.Models
}
public bool GenerateForm { get; set; } = true;
public bool? Antiforgery { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public bool DescriptionHtml { get; set; }
public string Action { get; set; }
public string ActionName { get; set; }
public object ActionValues { get; set; }
public string ControllerName { get; set; }
public string ButtonClass { get; set; } = ButtonClassDefault;
}