Sha256: 745ca14fbd225712bed5451d6c29f81460685ac01fa9ea1087d21a151996f3d5

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

= render 'title', :gallery => @gallery
= render 'ish_manager/photos/multinew', :gallery => @gallery

-# deleted
.row
  %p.addToggle Deleted [<>]
  .a
    %ul.inline
      - @deleted_photos.each do |ph|
        %li.border-red= image_tag ph.photo.url( :mini )
    %hr

-# mini
.row
  %ul
    - @photos.each do |photo|
      %li.col-xs-1= image_tag photo.photo.url( :mini ), :alt => ''
.spacer{ :style => 'height: 500px' }

-# thumb
.row
  .a
    - @photos.each do |photo|
      .col-xs-4
        .item{ :style => "border: 1px solid red;" }
          = button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          %br
          = image_tag photo.photo.url( :thumb ), :alt => ''
.spacer{ :style => 'height: 100px' }

-# large
.center.large-photos
  - @photos.each do |photo|
    .item
      .wrapper{ style: "background-image: url('#{photo.photo.url( :large )}')" }
        = button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ish_manager-0.1.8.225 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.224 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.223 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.222 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.221 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.220 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.219 app/views/ish_manager/galleries/show.haml