Changed view page to a block