Sha256: 9b6f6ac205cd09495d2768dc0a741af0cc99ee3c2ba7bf095d895ff7edd5c65b
Contents?: true
Size: 1.05 KB
Versions: 16
Compression:
Stored size: 1.05 KB
Contents
<% for place in @places do %> <div class="grid_19 menu"> <div class="grid_2 alpha"> <p> <%= link_to place.name, edit_place_path(place)%> </p> </div> <% unless place.images.empty? %> <div class="grid_16"> <ul> <% Place.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]", place_path(place), :method => :delete, :confirm => "remover #{place.name}?"%> </li> </ul> </div> </div> <div class="grid_19 tpush_2" style="overflow:hidden;"> <% place.images.each do |image| %> <%= image_tag image.photo.thumb(Place.style_grid_3).url, :class => "attachment-grid_3"%> <% end %> </div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems