Add assertions to ensure that ids are rendered for the edit template.