Sha256: f9f723937e087f80e6c24eb9e994471ec591a33963ea91945f10ae9ee4754aeb
Contents?: true
Size: 1.24 KB
Versions: 10
Compression:
Stored size: 1.24 KB
Contents
- if @gallery_images.empty? %p.empty No Image - else %table{:id => 'pages_table', :cellpadding => 0, :cellspacing => 0, :summary => "Gallery images" , :class => "#{drag_tree_table_class} gallery_images table table-bordered" , :rel => drag_tree_url } %thead %tr %th Image %th.controls Controls %tbody - @gallery_images.each do |gallery_item| %tr{:id => drag_tree_row_id(gallery_item), :class => drag_tree_row_class(gallery_item) + "#{cycle("even", "odd")}"} %td %span{:class => "#{drag_tree_drag_point_class} page" , :rel => drag_tree_row_id(gallery_item)} %img{:src => gallery_item.image.thumb_small_url , :class => "thumb" , :width => "100px"} %span.title = gallery_item.image.title %td.controls = link_to "Edit image" , edit_admin_asset_path(gallery_item.image.id) , :target => "_blank" = link_to "Detach", "javascript:;" , :class => "delete_gallery_item" , :rel => gallery_item.id , "data-url" => remove_image_admin_gallery_path(gallery_item.id) , :title => "Detach this image from the photo gallery" = image_tag("/assets/gb_spinner.gif" , :id => "progress_#{gallery_item.id}" , :style => "display:none")
Version data entries
10 entries across 10 versions & 1 rubygems