add wrap to show and edit views