<% document = @document if local_assigns[:document].nil? %> <% if show_doc_actions? document %>

<%= t('blacklight.tools.title') %>

<% if render_show_doc_actions_method_from_blacklight? %> <%= render(Blacklight::Document::ActionsComponent.new(document: document, tag: 'ul', classes: 'list-group list-group-flush', wrapping_tag: 'li', wrapping_classes: 'list-group-item', actions: document_actions(document), url_opts: Blacklight::Parameters.sanitize(params.to_unsafe_h))) %> <% else %> <% Deprecation.warn(self, '#render_show_doc_actions is deprecated; use ActionComponents instead') %> <% end %>
<% end %>