Refinement of html for edit pages