restructure record.show template