modify layout and add show-attributes