class ActiveAdmin::BatchActions::ResourceSelectionToggleCell

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

def build(label_text = "")

def build(label_text = "")
  label do
    input type: "checkbox", id: "collection_selection_toggle_all", name: "collection_selection_toggle_all", class: "batch-actions-toggle-all"
    text_node label_text if label_text.present?
  end
end