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