<%= render(SearchResultCaptionComponent.new(searched:, count: pagy.count, item_label:, total_count:, item: "logs", path: request.path)) %> <%= govuk_link_to "Download (CSV)", csv_download_url, type: "text/csv" %>

<% logs.map do |log| %> <%= render(LogSummaryComponent.new(current_user:, log:)) %> <% end %>