split out view into its partial