I would like to insert a custom element at the bottom of an ActiveAdmin index page. For example, having a Campaign model, in the ActiveAdmin campaign index page I would like to have the default index table followed by my custom element (a partial named campaigns_custom_element).
I tried with the following code:
index do
selectable_column
column :id
column :name
column :advertiser
column :duration
column :paused
column :in_preparation
panel 'A custom panel' do
render partial: 'campaigns_custom_element'
end
end
The problem is that ActiveAdmin always places the index table as last element:
Instead, my desired layout would be the index table followed by my custom element:
There is an easy and clean way to do this without having to create a whole custom index page?

