From f1e56f1df9306965bcd28965d855d7e5c2252203 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Mon, 10 Jan 2022 13:19:59 +0000 Subject: [PATCH] Move breadcrumbs (#204) * move breadcrumbs * revert schema file change * add whitespace --- app/views/case_logs/edit.html.erb | 4 ++-- app/views/form/check_answers.html.erb | 4 ++-- app/views/layouts/application.html.erb | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/case_logs/edit.html.erb b/app/views/case_logs/edit.html.erb index add9248c5..0d5dfc2b8 100644 --- a/app/views/case_logs/edit.html.erb +++ b/app/views/case_logs/edit.html.erb @@ -1,10 +1,10 @@ <% content_for :title, "Log #{@case_log.id}" %> +<% breadcrumbs = { "Logs" => "/logs", content_for(:title) => "" } %> +<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: breadcrumbs) %> <%= turbo_frame_tag "case_log_form", target: "_top" do %>