<%= check_box_tag "point_ids[]", point.id, nil, { multiple: true, form: :bulk_destroy_form, data: { checkbox_select_all_target: 'child', action: 'change->checkbox-select-all#toggleParent' } } %> <%= point.recorded_at %> <%= point.latitude %>, <%= point.longitude %>