Write edit page html. Tests for edit html.