Added an edit view.