- <% breadcrumbs = { "Logs" => "/logs", content_for(:title) => "" } %>
- <%= govuk_breadcrumbs(breadcrumbs: breadcrumbs) %>
<%= content_for(:title) %>
diff --git a/app/views/form/check_answers.html.erb b/app/views/form/check_answers.html.erb
index 3eed12715..a3ddb0d51 100644
--- a/app/views/form/check_answers.html.erb
+++ b/app/views/form/check_answers.html.erb
@@ -1,10 +1,10 @@
<% content_for :title, "#{subsection.id.humanize} - Check your answers" %>
+<% breadcrumbs = { "Logs" => "/logs", "Log" => "/logs/" + @case_log.id.to_s, subsection.id.humanize => "" } %>
+<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: breadcrumbs) %>
<%= turbo_frame_tag "case_log_form", target: "_top" do %>
- <% breadcrumbs = { "Logs" => "/logs", "Log" => "/logs/" + @case_log.id.to_s, subsection.id.humanize => "" } %>
- <%= govuk_breadcrumbs(breadcrumbs: breadcrumbs) %>
<%= subsection.id.humanize %>
Check your answers
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index a12e64807..9552a4cba 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -57,6 +57,7 @@
text: "This is a new service – #{govuk_mail_to("test@mhclg.gov.uk", "give feedback or report a problem", subject: "Feedback about Lettings and Sales of Social Housing in England Data Collection")}".html_safe
) %>
+ <%= content_for(:breadcrumbs) %>
<%= content_for(:before_content) %>