Sha256: f655929ab76ea643d92cdfe31ae0ded439e670a918e078812e676ac8cc564fb6

Contents?: true

Size: 794 Bytes

Versions: 3

Compression:

Stored size: 794 Bytes

Contents

.row
  .col-xs-12
    .center
      Gallery
      %h2
        #{@gallery.name} (#{@photos.length})
        = link_to '[~]', edit_gallery_path( @gallery )
        [x]
      = @gallery.galleryname
      = render 'meta', :gallery => @gallery

.row
  %ul
    - @photos.each do |photo|
      %li.col-xs-1= image_tag photo.photo.url( :mini ), :alt => ''

.spacer{ :style => 'height: 500px' }

.row
  %ul
    - @photos.each do |photo|
      %li.col-xs-2
        = link_to '[x]', photo_path( :id => photo.id ), :method => :delete, :confirm => 'Are you sure?'
        %br
        = image_tag photo.photo.url( :thumb ), :alt => ''
        
.spacer{ :style => 'height: 500px' }
        
.center
  %ol
    - @photos.each do |photo|
      %li.item
        = image_tag photo.photo.url( :large ), :alt => ''

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_manager-0.1.3 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.2 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.0 app/views/ish_manager/galleries/show.haml