debian-mirror-gitlab/app/views/shared/ssh_keys/_key_delete.html.haml

10 lines
312 B
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
- title = _('Delete Key')
- aria = { label: title }
2021-03-11 19:13:27 +05:30
- if defined?(text)
2021-06-08 01:23:25 +05:30
= button_to text, '#', class: html_class, data: button_data, title: title, aria: aria
2021-03-11 19:13:27 +05:30
- else
2021-06-08 01:23:25 +05:30
= button_to '#', class: html_class, data: button_data, title: title, aria: aria do
2021-03-11 19:13:27 +05:30
%span.sr-only= _('Delete')
= sprite_icon('remove')