DRYed up views using partials