diff options
Diffstat (limited to 'app/views/shared/ssh_keys')
-rw-r--r-- | app/views/shared/ssh_keys/_key_delete.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/shared/ssh_keys/_key_delete.html.haml b/app/views/shared/ssh_keys/_key_delete.html.haml new file mode 100644 index 00000000000..1526e5d3eda --- /dev/null +++ b/app/views/shared/ssh_keys/_key_delete.html.haml @@ -0,0 +1,6 @@ +- 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') |