debian-mirror-gitlab/app/views/shared/ssh_keys/_key_delete.html.haml
2021-06-08 01:23:25 +05:30

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')