gitlab-org--gitlab-foss/app/views/shared/ssh_keys/_key_delete.html.haml

9 lines
312 B
Text

- title = _('Delete Key')
- aria = { label: title }
- if defined?(text)
= button_to text, '#', class: html_class, data: button_data, title: title, aria: aria
- else
= button_to '#', class: html_class, data: button_data, title: title, aria: aria do
%span.sr-only= _('Delete')
= sprite_icon('remove')