diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 9c1fe0be..f0419bf1 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -35,7 +35,7 @@ <%= yield(:breadcrumbs) if content_for?(:breadcrumbs) %>
<% if FeatureFlags::FeatureFlag.active?(:downtime_banner) %> - <%= govuk_notification_banner title: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> + <%= govuk_notification_banner title_text: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> <% end %> <%= render(FlashMessageComponent.new(flash: flash)) %> <%= yield :content %> diff --git a/app/views/layouts/check_records_layout.html.erb b/app/views/layouts/check_records_layout.html.erb index e55c84f0..1f221666 100644 --- a/app/views/layouts/check_records_layout.html.erb +++ b/app/views/layouts/check_records_layout.html.erb @@ -35,7 +35,7 @@ <%= yield(:breadcrumbs) if content_for?(:breadcrumbs) %>
<% if FeatureFlags::FeatureFlag.active?(:downtime_banner) %> - <%= govuk_notification_banner title: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> + <%= govuk_notification_banner title_text: "Planned downtime", text: "The service will be unavailable on Monday 30th September between 6pm and 7pm while we carry out essential maintenance" %> <% end %> <%= render(FlashMessageComponent.new(flash: flash)) %>