fixed issue with template edit link, added support for repeater fields