Notice example

With custom banner title

The default banner title can be overruled by specifying a banner_title option.

How it looks (preview)

Information

This publication was withdrawn on 30 September 2015

This document is no longer current. We published a new version on 30 September 2015.

How to call this example

<%= render "govuk_publishing_components/components/notice", {
  title: "This publication was withdrawn on 30 September 2015",
  description_govspeak: sanitize("<p>This document is no longer current. We published a new version on 30 September 2015.</p>"),
  show_banner_title: true,
  banner_title: "Information"
} %>