<% contents.each do |content| %> <% content = FilePresenter.for(content) %>
<%= instance_eval(&block.content_image(content)) if block.show_image %>
<% if block.show_name %>
<%= short_filename(content.name, 30) %>
<% end %>
<% end %>