From eed320bba982f03e1a1407c4f9a8c7d019a5d372 Mon Sep 17 00:00:00 2001 From: Chris Yoong Date: Wed, 14 Oct 2020 11:22:20 +0100 Subject: [PATCH] Adding guidance link Adding new guidance link to landing page Co-authored-by: Dilwoar Hussain --- .../components/shared/_country_section.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/coronavirus_landing_page/components/shared/_country_section.html.erb b/app/views/coronavirus_landing_page/components/shared/_country_section.html.erb index cde0a6263..c442df1ed 100644 --- a/app/views/coronavirus_landing_page/components/shared/_country_section.html.erb +++ b/app/views/coronavirus_landing_page/components/shared/_country_section.html.erb @@ -1,5 +1,10 @@ <% guidance ||= nil %> +<% if guidance.present? && guidance["intro"].present? %> +

+ <%= render_govspeak(guidance["intro"]) %> +

+<% end %> <% if guidance.present? && guidance["links"].present? %> <% guidance_links = guidance["links"].map do | link |