<% content_for :title, "Logs" %>

<%= content_for(:title) %>

<%= govuk_button_to "Create a new lettings log", case_logs_path %> <%#= govuk_link_to "Upload logs", bulk_upload_case_logs_path %>
<%= render partial: "log_filters"%> <% if @case_logs.present? %>
<%= render partial: "log_list", locals: { case_logs: @case_logs, title: "Logs", pagy: @pagy } %> <%== render partial: 'pagy/nav', locals: { pagy: @pagy, item_name: "logs" } %>
<% end %>