Sha256: 6e5ca8554a12ea8ef815c9478b03eabc1b04129386025e2a8e5f84656517db13

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

.item
  .overlay
    = link_to admin_photo_path(photo), class: 'icon-only edit-photo-link', data: {aviary: true} do
      =t('spina.photos.edit')
    = link_to spina.admin_photo_path(photo), method: :delete, class: 'icon-only delete-photo-link', data: {confirm: t('spina.photos.delete_confirmation')} do
      =t('spina.photos.delete')
  = image_tag photo.file.thumb.url, id: "photo_#{photo.id}", data: {posturl: spina.enhance_admin_photo_path(photo), image: photo.file.url}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spina-0.8.3 app/views/spina/admin/photos/_photo.html.haml
spina-0.8.2 app/views/spina/admin/photos/_photo.html.haml
spina-0.8.1 app/views/spina/admin/photos/_photo.html.haml
spina-0.8.0 app/views/spina/admin/photos/_photo.html.haml
spina-0.7.3 app/views/spina/admin/photos/_photo.html.haml
spina-0.7.2 app/views/spina/admin/photos/_photo.html.haml