<%= helpers.link_to_document @document, counter: @counter %> <%= tag.span @document.extent, class: 'al-document-extent badge' if @document.extent && !compact? %> <%= tag.span class: 'al-document-container text-muted ml-auto' do %> <%= @document.containers.join(', ') %> <% end if @document.containers.present? %>

<% actions.each do |action| %> <%= action %> <% end %>