Skip to content

Commit

Permalink
Add the banner partial to application layout
Browse files Browse the repository at this point in the history
This pulls in the user research banner partial defined in the govuk-web-banners gem.

This renders the banner in the same place on the page as was previously implemented.
  • Loading branch information
hannako committed Dec 10, 2024
1 parent 2185f5f commit 6cc6a05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
<% end %>
<% end %>

<%= render "govuk_web_banners/recruitment_banner" %>

<%= yield :header %>

<main role="main" id="content" class="<%= @content_item.schema_name.dasherize %>" lang="<%= I18n.locale %>">
Expand Down

0 comments on commit 6cc6a05

Please sign in to comment.