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