Changed view template, this is now working