show view & edit onclick