Sha256: f756ba2ab7787f4038088bdc04f48c87cc6745bb8b148d0180d060f4514183f6

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

.item.image{class: ('selected' if image.id.to_s.try(:in?, params[:selected_ids].to_a)), data: {action: "click->gallery-select#select", image_id: image.id}}
  - unless defined?(simple) && simple
    .overlay
      = link_to admin_image_path(image), method: :delete, class: 'icon-only delete-photo-link', data: {confirm: t('spina.images.delete_confirmation')} do
        = t('spina.images.delete')
      %span.photo-name= truncate(image.name, length: 125)

  = image_tag main_app.url_for(image.file.variant(resize: '300x300^', crop: "300x300+0+0"))

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spina-2.0.1 app/views/spina/admin/images/_image.html.haml
spina-2.0.0 app/views/spina/admin/images/_image.html.haml
spina-2.0.0.beta app/views/spina/admin/images/_image.html.haml