Moved summary to a partial in preparation for more work on views