Rename foreach template