diff --git a/app/views/layouts/_application.html.erb b/app/views/layouts/_application.html.erb index 7f9b0c7c9c..b10be5fae5 100644 --- a/app/views/layouts/_application.html.erb +++ b/app/views/layouts/_application.html.erb @@ -61,12 +61,12 @@ height="0" width="0" style="display:none;visibility:hidden"> - Skip to main content - <% unless cookies[:cookie_consent_1] || current_page?(cookies_path) %> <%= render "cookies/banner" %> <% end %> + Skip to main content + <%= govuk_header(service_name:, container_classes: ("govuk-width-container__wide" if wide_container_view?)) do |header| if user_signed_in? header.with_navigation_item(text: "Sign out", href: destroy_user_session_path)