Sha256: 1100c5a38e3d1126b891ebffae6c3ba3c27b107ddddb5ce27b7f37cb3e74a9e2
Contents?: true
Size: 954 Bytes
Versions: 3
Compression:
Stored size: 954 Bytes
Contents
<ul id="image_grid" class="<%= ['clearfix', 'pagination_frame', 'images_list', pagination_css_class].compact.join(' ') %>"> <% @images.each_with_index do |image, index| -%> <li id="image_<%= image.id %>" class="image_<%= index % 5 %>"> <%= image_fu image, '135x135#c', title: image.title %> <span class="actions"> <%= action_icon :preview, image.url, t('view_live_html', scope: 'refinery.admin.images') %> <%= action_icon :edit, refinery.edit_admin_image_path(image), t('edit', scope: 'refinery.admin.images') %> <%= action_icon :delete, refinery.admin_image_path(image, params.slice(:page)), t('delete', scope: 'refinery.admin.images'), class: 'confirm-delete', data: { confirm: t('message', scope: 'refinery.admin.delete', title: image.title) } %> <%= action_icon :info, '#', "Title: #{image.title} Alt text: #{image.alt}" %> </span> </li> <% end -%> </ul>
Version data entries
3 entries across 3 versions & 1 rubygems