<% concat( render(Primer::Alpha::CheckBox.new(name: 'toggle_all', value: nil, label: I18n.t('work_package.sharing.label_toggle_all'), visually_hide_label: true, data: { 'work-packages--share--bulk-selection-target': 'toggleAll', action: 'work-packages--share--bulk-selection#toggle' })) ) concat( render(Primer::Beta::Text.new(ml: 2, data: { 'work-packages--share--bulk-selection-target': 'sharedCounter' })) do I18n.t('work_package.sharing.count', count:) end ) # Text contents managed by Stimulus controller concat( render(Primer::Beta::Text.new(ml: 2, data: { 'work-packages--share--bulk-selection-target': 'selectedCounter' })) ) %>