removed showTemplate attribute