Sha256: 1b5479b7187cbf8c43cee0397d6257de7c7fbb6c953f315451911f5319affe08

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 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 "удалить", url_for([:admin, photo.imageable, photo]), :method => :delete, :confirm => "Точно удалить?", :remote => true, :title => "Удалить", :class => "del"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redde-0.1.7 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.6 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.5 lib/generators/redde/photo/templates/photos/_photo.haml