Merging edit and view pages