Creates a DetailViewBase to remove code duplication