Published dates example

Link to page history

This will set up a link to a ‘#history’ anchor on the page. This can be used to link to another instance of this component, see Display Page History example

How it looks (preview)

Updates to this page

Published 1st January 1990
Last updated 20th October 2016 — See all updates

How to call this example

<%= render "components/published_dates", {
  published: "1st January 1990",
  last_updated: "20th October 2016",
  link_to_history: true
} %>