class ActiveAdmin::BatchActions::ResourceSelectionToggleCell

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

Public Instance Methods

build(label_text = "") click to toggle source
# File lib/active_admin/batch_actions/views/selection_cells.rb, line 11
def build(label_text = "")
  label do
    input type: "checkbox", id: "collection_selection_toggle_all", name: "collection_selection_toggle_all", class: "toggle_all"
    text_node label_text if label_text.present?
  end
end