app/views/admin/fileupload/_asset.html.slim in ab_admin-0.2.3 vs app/views/admin/fileupload/_asset.html.slim in ab_admin-0.3.0
- old
+ new
@@ -1,6 +1,6 @@
.asset id="asset_#{asset.id}" data-id=asset.id
- = link_to icon('remove', true), admin_asset_path(asset), remote: true, method: :delete, title: t('admin.delete'), :class => 'del_asset', \
+ = link_to icon('remove', true), admin_asset_path(asset), remote: true, method: :delete, title: t('admin.delete'), class: 'del_asset', \
data: {confirm: t('admin.delete_confirmation')}
.main_image title=t('admin.fileupload.main_image') = icon('home', true)
.crop_image title=t('admin.fileupload.crop') = icon('resize-full', true)
.rotate_image title=t('admin.fileupload.rotate') = icon('repeat', true)
a.fileupload-file.fancybox href=asset.url rel='fancybox'