# app/avo/resources/post.rb
class Avo::Resources::Post < Avo::BaseResource
  self.discreet_information = [
    :timestamps,
    {
      tooltip: -> { sanitize("Product is <strong>#{record.published_at ? "published" : "draft"}</strong>", tags: %w[strong]) },
      icon: -> { "heroicons/outline/#{record.published_at ? "eye" : "eye-slash"}" }
    },
    {
      label: -> { record.published_at ? "🚀" : "😬" },
      url: -> { "https://avohq.io" },
      url_target: :_blank
    }
  ]
end
```

## Display the `id`

To save field space, you can use the discreet information area to display the id of the current record.

Set the option to the `:id` value and the id will be added next to the title.

```ruby