Sha256: ddac62ded1dc29e763d6407789cc2f1d2ea7cfa9c004f15466e71193fc9988d9

Contents?: true

Size: 338 Bytes

Versions: 19

Compression:

Stored size: 338 Bytes

Contents

%li{ class: 'handle', id: "photo_#{photo.id}" }
  = link_to photo.src.url do
    = image_tag photo.src.admin
    %em= photo.src.to_s.gsub(/.*\/(.*)\z/, '\1')
  = link_to 'удалить', [:admin, photo.imageable, photo], method: :delete, data: { confirm: 'Точно удалить?'}, remote: true, title: 'Удалить', class: 'del'

Version data entries

19 entries across 11 versions & 1 rubygems

Version Path
redde-0.1.18 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.18 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.17 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.17 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.16 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.16 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.15 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.15 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.14 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.14 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.13 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.13 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.12 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.12 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.11 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.11 spec/dummy/app/views/admin/photos/_photo.haml
redde-0.1.10 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.9 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.8 lib/generators/redde/photo/templates/photos/_photo.haml