Sha256: e1ddf04540f0b1b90274af7ba2034762370daee3bdae4529284b6aab88364386
Contents?: true
Size: 585 Bytes
Versions: 3
Compression:
Stored size: 585 Bytes
Contents
.fileupload-asset id="asset_#{image.id}" data-id=image.id = link_to icon('remove', true), admin_asset_path(image), remote: true, method: :delete, title: t('admin.delete'), class: 'destroy_asset', \ data: {confirm: t('admin.delete_confirmation')} .main_image title=t('admin.fileupload.main_image') = icon('home', true) .rotate_image title=t('admin.fileupload.rotate') = icon('repeat', true) a.fileupload-file href=image.url target='_blank' data-fancybox=1 - I18n.with_locale(image.assetable.try(:locale)) do img src=image.thumb_url title=image.name alt=image.alt
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.11.0 | app/views/admin/fileupload/_image.html.slim |
ab_admin-0.10.0 | app/views/admin/fileupload/_image.html.slim |
ab_admin-0.9.0 | app/views/admin/fileupload/_image.html.slim |