Class: ActiveAdmin::BatchActions::ResourceSelectionTogglePanel
- Inherits:
-
Component
- Object
- Arbre::Component
- Component
- ActiveAdmin::BatchActions::ResourceSelectionTogglePanel
- Defined in:
- lib/active_admin/batch_actions/views/selection_cells.rb
Overview
Creates a wrapper panel for all index pages, except for the table, as the table has the checkbox in the thead
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
32 33 34 35 |
# File 'lib/active_admin/batch_actions/views/selection_cells.rb', line 32 def build super(id: "collection_selection_toggle_panel") resource_selection_toggle_cell(I18n.t("active_admin.batch_actions.selection_toggle_explanation", default: "(Toggle Selection)")) end |