diff --git a/app/views/logs/index.html.erb b/app/views/logs/index.html.erb
index 75086a24f..b7c6ee4b0 100644
--- a/app/views/logs/index.html.erb
+++ b/app/views/logs/index.html.erb
@@ -9,9 +9,9 @@
) %>
<% if @duplicate_sets_count&.positive? %>
- <%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", duplicate_logs_path)) do |banner|
- banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count))
- end %>
+ <%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", duplicate_logs_path)) do |banner| %>
+ <% banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count)) %>
+ <% end %>
<% end %>
<% if current_page?(controller: 'lettings_logs', action: 'index') %>
diff --git a/app/views/organisations/logs.html.erb b/app/views/organisations/logs.html.erb
index 3914baaf3..241621996 100644
--- a/app/views/organisations/logs.html.erb
+++ b/app/views/organisations/logs.html.erb
@@ -11,9 +11,9 @@
) %>
<% if @duplicate_sets_count&.positive? %>
- <%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", organisation_duplicates_path(@organisation))) do |banner|
- banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count))
- end %>
+ <%= govuk_notification_banner(title_text: "Important", text: govuk_link_to("Review logs", organisation_duplicates_path(@organisation))) do |banner| %>
+ <% banner.with_heading(text: I18n.t("notification.duplicate_sets", count: @duplicate_sets_count)) %>
+ <% end %>
<% end %>
<% if current_user.support? %>