changed references to templates in views