Minor: simplify calling map
Don't offer to edit repeat in template, fix #781