docs/6-show-pages.md in activeadmin-2.8.1 vs docs/6-show-pages.md in activeadmin-2.9.0
- old
+ new
@@ -77,5 +77,17 @@
row('Published?') { |b| status_tag b.published? }
end
end
end
```
+
+If you want to keep the default show data, but add something extra to it:
+
+```ruby
+show do
+ div do
+ h3 'Some custom charts about this object'
+ render partial: 'charts'
+ end
+ default_main_content
+end
+```