<%= link_to data_file.name, download_data_file_url(data_file) %>
|
<% if data_file.repository.can_upload_files?(current_user) %>
<%= form_for data_file, html: { method: :delete } do |f| %>
<%= f.submit "Remove", class: "btn btn-danger" %>
<% end %>
|
<% end %>