Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_key_delete.html.haml « ssh_keys « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b89b2a0cbfa1e809067e6314f5b47d50710e6f7 (plain)
1
2
3
4
5
6
7
- 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')