Refactor the resource listing body views