6 lines
207 B
Text
6 lines
207 B
Text
- if defined?(text)
|
|
= button_to text, '#', class: html_class, data: button_data
|
|
- else
|
|
= button_to '#', class: html_class, data: button_data do
|
|
%span.sr-only= _('Delete')
|
|
= sprite_icon('remove')
|