This is duplicated in https://github.com/alphagov/whitehall/pull/522/files#L1R47 -- perhaps worth an extraction?