contract edit view