Sha256: 1bec616e058b47ec96cd9b807b507e61b9b03a63cf2b96d54335c11c87953d12
Contents?: true
Size: 994 Bytes
Versions: 18
Compression:
Stored size: 994 Bytes
Contents
<ul id="image_grid" class="clearfix"> <% @images.each do |image| -%> <li id="image_<%= image.id %>" <%= "class='row-end'" if (@images.index(image)+1) % 4 == 0 %>> <%= image_fu image, :grid, :title => image.title %> <span class='actions'> <%= link_to refinery_icon_tag('eye.png'), image.public_filename, :target => "_blank", :title => "Click to view '#{image.title}'<br/><em>Opens in a new window</em>" %> <%= link_to refinery_icon_tag('application_edit.png'), edit_admin_image_path(image), :title => 'Edit this image' %> <%= link_to refinery_icon_tag('delete.png'), admin_image_path(image), :confirm => "Are you sure you want to delete #{image.title}?", :class => "cancel", :method => :delete, :title => "Remove this image forever" %> </span> </li> <% end -%> </ul>
Version data entries
18 entries across 18 versions & 1 rubygems