diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index e51be3c8a..61d83ed84 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -4,8 +4,6 @@ <%= content_for(:title) %> -<%= render LogSearchComponent.new(current_user:, label: "Search by log ID, tenant code, property reference or postcode") %> -
<%= govuk_button_to "Create a new lettings log", case_logs_path %> @@ -15,6 +13,7 @@ <%= render partial: "log_filters" %> <% if @case_logs.present? %>
+ <%= render LogSearchComponent.new(current_user:, label: "Search by log ID, tenant code, property reference or postcode") %> <%= render partial: "log_list", locals: { case_logs: @case_logs, title: "Logs", pagy: @pagy } %> <%== render partial: "pagy/nav", locals: { pagy: @pagy, item_name: "logs" } %>