Sha256: 81ea29b0d27723bf26897593865a0fd631c502728e72a3eb760fdfa223ed691e
Contents?: true
Size: 591 Bytes
Versions: 27
Compression:
Stored size: 591 Bytes
Contents
<%= render "admin/shared/list_toolbar" %> <ul class="image_list"> <% collection.each do |row| -%> <% next if row.attachable.nil? %> <li> <%= link_to (image_tag row.attachment.url), row.attachment.url, :class => "file_link" %><br /> <% row.attachable.send(row.attachment_type).options[:styles].each do |style| -%> <%= link_to "<b>#{style[0].to_s.titleize}</b> <small>(#{style[1]})</small>".html_safe, row.attachable.send(row.attachment_type).url(style.first), :class => "file_link" %> <% end -%> </li> <% end -%> </ul> <%= render "admin/shared/list_footer" %>
Version data entries
27 entries across 27 versions & 1 rubygems