{{/* Thin html/template facade around the templ component in internal/templates/components/flash.templ. base.html + wizard.html call {{template "flash" .}} with the full layout data; we short-circuit when .Flash is nil so the component can accept a non-nil value directly. See issue #462 for migration context. */}} {{define "flash"}}{{if .Flash}}{{renderComponent "Flash" .Flash}}{{end}}{{end}}