Sha256: 5dc97739cfbaaa6e7aa59818f77c9e26d59f8a3644900d0ba98f07bfc3b2338b
Contents?: true
Size: 1.08 KB
Versions: 16
Compression:
Stored size: 1.08 KB
Contents
<% for work in @works do %> <div class="grid_19 menu"> <div class="grid_2 alpha"> <p> <%= link_to work.name, edit_artist_work_path(work.artist, work)%> </p> </div> <% unless work.images.empty? %> <div class="grid_16"> <ul> <% Work.attachment_magick_default_options[:styles].keys.sort{|x, y| x.to_s <=> y.to_s}.reject{|x| x == :fullscreen}.each do |style| %> <li class="grid_2 rpush_2 <%= style == :grid_3 ? "active" : ""%>"> <%= link_to "#{style}", "javascript://", :class => "open_attachment"%> </li> <% end %> </ul> </div> <% end %> <div class="grid_1 omega"> <ul> <li> <%= link_to "[x]", artist_work_path(work.artist, work), :method => :delete, :confirm => "remover #{work.name}?"%> </li> </ul> </div> </div> <div class="grid_19 tpush_2" style="overflow:hidden;"> <% work.images.each do |image| %> <%= image_tag image.photo.thumb(Work.style_grid_5).url, :class => "attachment-grid_3"%> <% end %> </div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems