Adds all pages into views. Adds partial to form pages.