split detail pages in edit and view mode