From f54d25d2835f7b348c3e4997fe45c77a46454f12 Mon Sep 17 00:00:00 2001 From: AshGDS <8880610+AshGDS@users.noreply.github.com> Date: Thu, 11 Jul 2024 14:42:39 +0100 Subject: [PATCH] Use govuk-frontend no print style instead of dont-print class --- app/views/components/_back_to_top.html.erb | 2 +- app/views/content_items/call_for_evidence.html.erb | 2 +- app/views/content_items/consultation.html.erb | 2 +- app/views/content_items/news_article.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/components/_back_to_top.html.erb b/app/views/components/_back_to_top.html.erb index be3ebcc1f..ff3dbcfdb 100644 --- a/app/views/components/_back_to_top.html.erb +++ b/app/views/components/_back_to_top.html.erb @@ -2,7 +2,7 @@ <% text ||= t('content_item.contents', default: "Contents") %> -
-
+
<%= render 'govuk_publishing_components/components/share_links', links: @content_item.share_links, track_as_sharing: true, diff --git a/app/views/content_items/consultation.html.erb b/app/views/content_items/consultation.html.erb index f144e2570..1230c28c6 100644 --- a/app/views/content_items/consultation.html.erb +++ b/app/views/content_items/consultation.html.erb @@ -192,7 +192,7 @@ <% end %>
-
+
<%= render 'govuk_publishing_components/components/share_links', links: @content_item.share_links, track_as_sharing: true, diff --git a/app/views/content_items/news_article.html.erb b/app/views/content_items/news_article.html.erb index d79f89b33..a941fb9cc 100644 --- a/app/views/content_items/news_article.html.erb +++ b/app/views/content_items/news_article.html.erb @@ -36,7 +36,7 @@ <% end %>
-
+
<%= render 'govuk_publishing_components/components/share_links', links: @content_item.share_links, track_as_sharing: true,