debian-mirror-gitlab/app/views/shared/ssh_keys/_key_delete.html.haml
2023-03-04 22:38:38 +05:30

7 lines
307 B
Text

- icon = local_assigns[:icon]
- category = local_assigns[:category] || :primary
.gl-p-2
= render Pajamas::ButtonComponent.new(variant: :danger, category: category, icon: ('remove' if icon), button_options: { class: 'js-confirm-modal-button', data: button_data }) do
- unless icon
= _('Delete')