% if preview %>
PREVIEW ONLY
<% end %>
Files
<% unless release.description.blank? %>
Description: <%= release.description %>
<% end %>
<% photos = release.image_files %>
<% unless photos.empty? %>
Photos
<% photos.each do |blob| %>
-
<%= blob.filename %>
<% end %>
<% end %>
<% videos = release.video_files %>
<% unless videos.empty? %>
Videos
<% videos.each do |blob| %>
-
<%= blob.filename %>
<% end %>
<% end %>
<% other = release.other_files %>
<% unless other.empty? %>
Other files
<% other.each do |blob| %>
-
<%= blob.filename %>
<% end %>
<% end %>