Class: ActiveAdmin::BatchActions::ResourceSelectionToggleCell

Inherits:
Component
  • Object
show all
Defined in:
lib/active_admin/batch_actions/views/selection_cells.rb

Overview

Creates the toggle checkbox used to toggle the collection selection on/off

Instance Method Summary collapse

Instance Method Details

#buildObject



10
11
12
# File 'lib/active_admin/batch_actions/views/selection_cells.rb', line 10

def build
  input type: "checkbox", id: "collection_selection_toggle_all", name: "collection_selection_toggle_all", class: "toggle_all"
end