Devolved Nations (experimental) example

Applies to one nation individual publication available

If no content type, or an invalid type, is specified then the default alternative content type is displayed as “Publication” e.g. “Publication for Northern Ireland”

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/devolved_nations", {
  national_applicability: {
    england: {
      applicable: true
    },
    northern_ireland: {
      applicable: false,
      alternative_url: "/"
    },
    scotland: {
      applicable: false,
      alternative_url: "/"
    },
    wales: {
      applicable: false,
      alternative_url: "/"
    }
  }
} %>