Sha256: a176c61c4198be1d8b61f3f8f070a4c4dcd97fc3fe5d6ab44231d7cf7600b19e

Contents?: true

Size: 342 Bytes

Versions: 3

Compression:

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redde-0.1.4 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.3 lib/generators/redde/photo/templates/photos/_photo.haml
redde-0.1.2 lib/generators/redde/photo/templates/photos/_photo.haml