Sha256: 17d66195738e196c4c3f76c26eb33f93d92f8d1a989558993bab4ec938998652
Contents?: true
Size: 966 Bytes
Versions: 4
Compression:
Stored size: 966 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 % 4 %>"> <%= image_fu image, '149x149#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.to_unsafe_h.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
4 entries across 4 versions & 1 rubygems