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

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