Fixed syntax errors on the template