blob: c969520d7e93a082fd84eef4b870af0722eef8e5 (
plain)
1
2
3
4
|
- category = local_assigns[:category] || :primary
= render Pajamas::ButtonComponent.new(variant: :danger, category: category, button_options: { class: 'js-confirm-modal-button', data: button_data }) do
= _('Delete')
|