<% if current_user and document.depositor != current_user.user_key %>
<% end %>
|
|
<%= document.date_uploaded %> |
|
<%= render_visibility_link(document) %>
|
<% if current_user and can? :edit, @collection %>
<%= button_for_remove_from_collection @collection, document, label: "Remove", btn_class: "btn-danger btn-xs" %>
|
<% end %>