update detail.haml layout