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" %> &nbsp; 
    <% end -%>
	</li>
<% end -%>
</ul>

<%= render "admin/shared/list_footer" %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
soapbox-0.3.1 app/views/admin/attachments/_image.html.erb
soapbox-0.3.0 app/views/admin/attachments/_image.html.erb
soapbox-0.2.24 app/views/admin/attachments/_image.html.erb
soapbox-0.2.23 app/views/admin/attachments/_image.html.erb
soapbox-0.2.21 app/views/admin/attachments/_image.html.erb
soapbox-0.2.20 app/views/admin/attachments/_image.html.erb
soapbox-0.2.18 app/views/admin/attachments/_image.html.erb
soapbox-0.2.16 app/views/admin/attachments/_image.html.erb
soapbox-0.2.15 app/views/admin/attachments/_image.html.erb
soapbox-0.2.14 app/views/admin/attachments/_image.html.erb
soapbox-0.2.12 app/views/admin/attachments/_image.html.erb
soapbox-0.2.11 app/views/admin/attachments/_image.html.erb
soapbox-0.2.10 app/views/admin/attachments/_image.html.erb
soapbox-0.2.9 app/views/admin/attachments/_image.html.erb
soapbox-0.2.8 app/views/admin/attachments/_image.html.erb
soapbox-0.2.7 app/views/admin/attachments/_image.html.erb
soapbox-0.2.6 app/views/admin/attachments/_image.html.erb
soapbox-0.2.5 app/views/admin/attachments/_image.html.erb
soapbox-0.2.4 app/views/admin/attachments/_image.html.erb
soapbox-0.2.3 app/views/admin/attachments/_image.html.erb