diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index dd02409d1..a4d2c203c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -6,18 +6,12 @@ <% content_for :body do %>
- <% if @content_item.show_phase_banner? || @content_item.service_manual? %> + <% if @content_item.show_phase_banner? %> + <%= render 'govuk_publishing_components/components/phase_banner', phase: @content_item.phase %> + <% end %> + <% if @content_item.service_manual? %>
-
-
- <% if @content_item.show_phase_banner? %> - <%= render 'govuk_publishing_components/components/phase_banner', phase: @content_item.phase %> - <% end %> - <% if @content_item.service_manual? %> - <%= render_phase_label @content_item, content_for(:phase_message) %> - <% end %> -
-
+ <%= render_phase_label @content_item, content_for(:phase_message) %>
<% end %>