Sha256: a6559328e6d45af35abd812c447c5d666a3e2d735e91dc5151c9e2e67cc4fa77

Contents?: true

Size: 474 Bytes

Versions: 36

Compression:

Stored size: 474 Bytes

Contents

%div{:class => "#{photo.klass} asset", :id => "photo#{photo.id}"}
  = link_to photo, :rel=>"#overlay", :class => "overlayed", :"data-type" => "html" do
    = image_tag(photo.asset.url(photo.which?), :alt => photo.name, :class => "tooltipped button")
  - if admin_signed_in?
    %p.asset-admin
      = link_to "Remove Photo", photo, :confirm => 'Are you sure?', :method => :delete
      = link_to "Edit Photo", edit_photo_path(photo), :rel=>"#overlay", :class => "overlayed"

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
sbdevcore-0.3.10 app/views/photos/_show.html.haml
sbdevcore-0.3.9 app/views/photos/_show.html.haml
sbdevcore-0.3.8 app/views/photos/_show.html.haml
sbdevcore-0.3.7 app/views/photos/_show.html.haml
sbdevcore-0.3.6 app/views/photos/_show.html.haml
sbdevcore-0.3.5 app/views/photos/_show.html.haml
sbdevcore-0.3.4 app/views/photos/_show.html.haml
sbdevcore-0.3.3 app/views/photos/_show.html.haml
sbdevcore-0.3.2 app/views/photos/_show.html.haml
sbdevcore-0.3.1 app/views/photos/_show.html.haml
sbdevcore-0.3.0 app/views/photos/_show.html.haml
sbdevcore-0.2.26 app/views/photos/_show.html.haml
sbdevcore-0.2.25 app/views/photos/_show.html.haml
sbdevcore-0.2.24 app/views/photos/_show.html.haml
sbdevcore-0.2.23 app/views/photos/_show.html.haml
sbdevcore-0.2.22 app/views/photos/_show.html.haml
sbdevcore-0.2.21 app/views/photos/_show.html.haml
sbdevcore-0.2.20 app/views/photos/_show.html.haml
sbdevcore-0.2.19 app/views/photos/_show.html.haml
sbdevcore-0.2.18 app/views/photos/_show.html.haml