view object in edit template