lib/active_admin/LTE/views/pages/index.rb
# Render's the index configuration that was set in the
# controller. Defaults to rendering the ActiveAdmin::Pages::Index::Table
Render's the index configuration that was set in the
controller.
Render ' s the index configuration that was set in the controller .
def main_content
            div class: 'box box-primary' do
              div class: 'box-header' do
                div class: 'box-header-inner' do
                  build_batch_actions_selector if active_admin_config.batch_actions.any?
                  build_scopes if active_admin_config.scopes.any?
                end
                filter_form_toggle if active_admin_config.filters.any?
              end
              div class: 'box-body table-responsive no-padding' do
                build_collection
              end
              div class: 'box-footer' do
                render_index_footer
              end
            end
          end
def main_content div class : 'box box-primary' do div class : 'box-header' do div class : 'box-header-inner' do build_batch_actions_selector if active_admin_config . batch_actions . any? build_scopes if active_admin_config . scopes . any? end filter_form_toggle if active_admin_config . filters . any? end div class : 'box-body table-responsive no-padding' do build_collection end div class : 'box-footer' do render_index_footer end end end
Render's the index configuration that was set in the
controller.
Render ' s the index configuration that was set in the controller .