add markup for edit hg-repeat