Consolidated create and edit into one view file.