added detail and edit views to primers

Also changed to generic views