{{ with $newmap := .}} {{ with $products := activeProducts }} {{ range $product := $newmap.products.HostList.Flatten }} {{if eq $product.ProductType "compressor"}} {{end}} {{end}} {{end}} {{end}} {{template "html/pages/SHARED/service/screen-calibration-template"}} {{with $newmap := .}} {{ with $products := activeProducts }}