app/views/admin/fileupload/_file.html.slim in ab_admin-0.3.4 vs app/views/admin/fileupload/_file.html.slim in ab_admin-0.3.5
- old
+ new
@@ -1,5 +1,5 @@
.asset id="asset_#{file.id}" data-id=file.id
a href=file.url target='_blank' = file.original_name
span== " (#{file.human_filesize}) - #{l(file.created_at, format: :long)}"
- = link_to t('admin.delete'), admin_asset_path(file), remote: true, method: :delete, \
+ = link_to icon('remove', true), admin_asset_path(file), remote: true, method: :delete, \
class: 'del_asset btn btn-danger btn-mini', data: {confirm: t('admin.delete_confirmation')}