{{define "pill"}}{{template "chip" (dict "label" "Payment failed" "tone" "pend")}}{{end}} {{define "title"}}Payment failed for {{.InstanceName}}{{end}} {{define "body"}} {{template "lead" (printf "A payment for %s failed." .InstanceName)}} {{template "p" "Your instance is unaffected while the card is retried. Update your payment method from the billing portal."}} {{if .PortalURL}}{{template "button" (dict "label" "Open billing portal" "url" .PortalURL)}}{{end}} {{end}}