adding content from view to page content