Metadata block example

Updated with links to see details

If a last_updated value exists and see_updates_link is set to true, a “See all updates” link will be shown. The link’s href will be set to #full-publication-update-history, taking users to the change history on the same page and expanding the section, if expandable, for example, changes to the rates of capital gains tax

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/metadata", {
  last_updated: "10 September 2015",
  see_updates_link: true
} %>