Method: ActiveAdmin::BatchActions::ResourceSelectionCell#build
- Defined in:
- lib/active_admin/batch_actions/views/selection_cells.rb
#build(resource) ⇒ Object
19 20 21 |
# File 'lib/active_admin/batch_actions/views/selection_cells.rb', line 19 def build(resource) input type: "checkbox", id: "batch_action_item_#{resource.id}", value: resource.id, class: "collection_selection", name: "collection_selection[]" end |