added forms to the edit pages