app/views/admin/fileupload/_video.html.slim in ab_admin-0.3.6 vs app/views/admin/fileupload/_video.html.slim in ab_admin-0.4.0
- old
+ new
@@ -1,6 +1,6 @@
-.asset id="asset_#{video.id}" data-id=video.id
- = link_to icon('remove', true), admin_asset_path(video), remote: true, method: :delete, title: t('admin.delete'), class: 'del_asset', \
+.fileupload-asset id="asset_#{video.id}" data-id=video.id
+ = link_to icon('remove', true), admin_asset_path(video), remote: true, method: :delete, title: t('admin.delete'), class: 'destroy_asset', \
data: {confirm: t('admin.delete_confirmation')}
video controls='true'
source src=video.url
| Your browser does not support mp4 videos
.video-filename
\ No newline at end of file