app/views/curation_concern/generic_files/show.html.erb in curate-0.5.1 vs app/views/curation_concern/generic_files/show.html.erb in curate-0.5.2
- old
+ new
@@ -1,9 +1,9 @@
<% content_for :page_title, curation_concern_page_title(curation_concern) %>
<% content_for :page_header do %>
<h1>File Details</h1>
<% end %>
-
+<%= render partial: 'thumbnail', locals: {generic_file: curation_concern, dom_class_name: 'representative_image'} %>
<%= render "attributes", curation_concern: curation_concern %>
<div class="form-actions">
<%= link_to "Download this File", download_path(curation_concern), class: 'btn btn-primary' %>
<% if can? :edit, curation_concern %>