app/views/curation_concern/generic_files/show.html.erb in curate-0.2.0 vs app/views/curation_concern/generic_files/show.html.erb in curate-0.3.1
- old
+ new
@@ -3,10 +3,11 @@
<h1>File Details</h1>
<% end %>
<%= render "attributes", curation_concern: curation_concern %>
-<% if can? :edit, curation_concern %>
<div class="form-actions">
- <%= link_to "Edit This File", edit_polymorphic_path([:curation_concern, curation_concern]), class: 'btn btn-primary' %>
+ <%= link_to "Download this File", download_path(curation_concern), class: 'btn btn-primary' %>
+ <% if can? :edit, curation_concern %>
+ <%= link_to "Edit this File", edit_polymorphic_path([:curation_concern, curation_concern]), class: 'btn btn-primary' %>
+ <% end %>
</div>
-<% end %>