package fields
import (
"github.com/starfleetcptn/gomft/components/notifications/types"
// "github.com/starfleetcptn/gomft/components/notifications/form/utils" // Removed as unused
)
templ WebhookFields(data types.NotificationFormData) {
if data.NotificationService.WebhookURL != "" {
} else {
}
if data.NotificationService.Headers != "" {
} else {
}
Use placeholders for dynamic values. Available variables: job.*, instance.*, timestamp, notification.*
// Removed duplicate Event Triggers section - now handled in form.templ
if data.NotificationService.SecretKey != "" {
}
If provided, all webhooks will include an X-GoMFT-Signature header
Test Configuration
Send a test notification to verify your configuration works correctly before saving.
}