DRYing up views, adding links, add edit action