Sha256: b750de8f0575274e3e7921d4bab290f9232ac45831e0ca9fd014e96182c87bbb
Contents?: true
Size: 962 Bytes
Versions: 28
Compression:
Stored size: 962 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
28 entries across 28 versions & 1 rubygems