- <% 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..1f87365d5 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) %>
diff --git a/db/schema.rb b/db/schema.rb
index 45a2d88f0..9838cc326 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2022_01_07_103143) do
+ActiveRecord::Schema.define(version: 2022_01_10_115720) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -162,9 +162,9 @@ ActiveRecord::Schema.define(version: 2022_01_07_103143) do
t.string "why_dont_you_know_la"
t.integer "unitletas"
t.integer "builtype"
+ t.datetime "property_void_date"
t.bigint "owning_organisation_id"
t.bigint "managing_organisation_id"
- t.datetime "property_void_date"
t.integer "renttype"
t.integer "needstype"
t.integer "lettype"