{{define "bulk-section"}}

{{.Matched}} / {{.Total}} items match

{{with .Banner}}{{end}}
Bulk action (applies to all checked rows)
{{range .Rows}} {{else}} {{end}}
slug primary path tags mgmt status
{{.Slug}} {{.PrimaryPath}} {{template "bulk-chip-tags" .}} {{template "bulk-chip-mgmt" .}} {{.Status}}
No items match. Loosen the filters.
{{end}} {{define "bulk-chip-tags"}} {{range .Tags}} {{.}} {{end}} {{/* No nested
— HTML forbids it. The input fires hx-post on Enter; the +-button is a click trigger on the same endpoint. Both carry id/op/kind via hx-vals; the input's own value field rides along as name="value". */}} {{end}} {{define "bulk-chip-mgmt"}} {{range .Management}}{{.}}{{end}} {{if not .Management}}unmanaged{{end}} {{end}}