shared detail layout