HM: Lxml for domain.edit and repository.edit
HM: More templates fixed