created a edit view and rendered it