Sha256: 472dca839dba48dd4c8bce4bfdb91b1496a5db4b39b54ad734d032b416f7fa95

Contents?: true

Size: 404 Bytes

Versions: 5

Compression:

Stored size: 404 Bytes

Contents

%li.photos__item{ :id => "photo_#{photo.id}" }
  = link_to photo.src_url, class: 'photos__link' do
    = image_tag photo.src_url(:admin), class: 'photos__img'
    %span.photos__title= photo.src.file.filename
  = link_to("",
    url_for([:admin, photo]),
    method: :delete,
    "data-confirm" => "Точно удалить?",
    remote: true,
    title: "Удалить",
    class: "del photos__del")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redde-0.4.4 app/views/admin/redde_photos/_photo.haml
redde-0.4.3 app/views/admin/redde_photos/_photo.haml
redde-0.4.2 app/views/admin/redde_photos/_photo.haml
redde-0.4.1 app/views/admin/redde_photos/_photo.haml
redde-0.4.0 app/views/admin/redde_photos/_photo.haml