class ActiveAdmin::BatchActions::ResourceSelectionTogglePanel
Creates a wrapper panel for all index pages, except for the table, as the table has the checkbox in the thead
Public Instance Methods
build()
click to toggle source
Calls superclass method
# File lib/active_admin/batch_actions/views/selection_cells.rb, line 28 def build super(:id => "collection_selection_toggle_panel") resource_selection_toggle_cell div(:id => "collection_selection_toggle_explaination" ) { I18n.t('active_admin.batch_actions.selection_toggle_explanation', :default => "(Toggle Selection)") } end