<% title ||= "GOV.UK - The best place to find government services and information" html_lang ||= "en" full_width ||= false omit_header ||= false show_search = local_assigns.include?(:show_search) ? local_assigns[:show_search] : true layout_helper = GovukPublishingComponents::Presenters::PublicLayoutHelper.new(local_assigns) -%> <%= title %> <%= csrf_meta_tags %> <%= stylesheet_link_tag "application", media: "all" %> <%= stylesheet_link_tag "print", media: "print" %> "> "> "> "> <% # Ensure that older IE versions always render with the correct rendering engine %> <% # The default og:image is added below :head so that scrapers see any custom metatags first, and this is just a fallback %> "> <%= yield :head %> <%= render "govuk_publishing_components/components/skip_link", { href: "#content" } %> <%= render "govuk_publishing_components/components/cookie_banner" %> <% unless omit_header %> <%= render "govuk_publishing_components/components/layout_header", { search: show_search, # layout-header will always have border-bottom, unless the layout is full width remove_bottom_border: full_width, } %> <% end %>
" id="content"> <%= yield :before_content %>
<%= yield %>
<%= render "govuk_publishing_components/components/feedback" %>
<% unless local_assigns[:hide_footer_links] %> <%= render "govuk_publishing_components/components/layout_footer", { with_border: true, navigation: layout_helper.footer_navigation, meta: layout_helper.footer_meta, } %> <% end %> <%= javascript_include_tag 'application' %>