replaced static pools html with {{pools}} placeholder