Class: ActiveAdmin::BatchActions::ResourceSelectionToggleCell
- Inherits:
 - 
      Component
      
        
- Object
 - Arbre::Component
 - Component
 - ActiveAdmin::BatchActions::ResourceSelectionToggleCell
 
 
- 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
#build(label_text = "") ⇒ Object
      11 12 13 14 15 16  | 
    
      # 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  |