slim template in preview