Sha256: b494f08ca78efd37d6052d7e0553af99f5a7bdee2d7deaa544f77db0effa6acd

Contents?: true

Size: 584 Bytes

Versions: 8

Compression:

Stored size: 584 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)
  .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=image.url rel='fancybox'
    img src=image.thumb_url title=image.filename

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ab_admin-0.8.2 app/views/admin/fileupload/_image.html.slim
ab_admin-0.8.1 app/views/admin/fileupload/_image.html.slim
ab_admin-0.8.0 app/views/admin/fileupload/_image.html.slim
ab_admin-0.7.0 app/views/admin/fileupload/_image.html.slim
ab_admin-0.6.1 app/views/admin/fileupload/_image.html.slim
ab_admin-0.6.0 app/views/admin/fileupload/_image.html.slim
ab_admin-0.5.0 app/views/admin/fileupload/_image.html.slim
ab_admin-0.4.0 app/views/admin/fileupload/_image.html.slim