diff --git a/app/views/content_items/_body_with_related_links.html.erb b/app/views/content_items/_body_with_related_links.html.erb index a03de38dd..5315c008c 100644 --- a/app/views/content_items/_body_with_related_links.html.erb +++ b/app/views/content_items/_body_with_related_links.html.erb @@ -2,7 +2,7 @@
- <%= render 'govuk_component/title', + <%= render 'govuk_publishing_components/components/title', title: @content_item.title %>
diff --git a/app/views/content_items/case_study.html.erb b/app/views/content_items/case_study.html.erb index ec9926eb3..a2a5f7b4f 100644 --- a/app/views/content_items/case_study.html.erb +++ b/app/views/content_items/case_study.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/coming_soon.html.erb b/app/views/content_items/coming_soon.html.erb index a69ca1965..79f80a11b 100644 --- a/app/views/content_items/coming_soon.html.erb +++ b/app/views/content_items/coming_soon.html.erb @@ -1,6 +1,6 @@
- <%= render 'govuk_component/title', title: 'Coming soon' %> + <%= render 'govuk_publishing_components/components/title', title: 'Coming soon' %>

This document will be published on
diff --git a/app/views/content_items/consultation.html.erb b/app/views/content_items/consultation.html.erb index 999e96331..ceda203f3 100644 --- a/app/views/content_items/consultation.html.erb +++ b/app/views/content_items/consultation.html.erb @@ -6,7 +6,7 @@

- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/contact.html.erb b/app/views/content_items/contact.html.erb index 9b3c64ee0..e4b607549 100644 --- a/app/views/content_items/contact.html.erb +++ b/app/views/content_items/contact.html.erb @@ -8,7 +8,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
diff --git a/app/views/content_items/corporate_information_page.html.erb b/app/views/content_items/corporate_information_page.html.erb index 4c988da47..90fb7f188 100644 --- a/app/views/content_items/corporate_information_page.html.erb +++ b/app/views/content_items/corporate_information_page.html.erb @@ -34,7 +34,7 @@
- <%= render 'govuk_component/title', title: @content_item.title %> + <%= render 'govuk_publishing_components/components/title', title: @content_item.title %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/detailed_guide.html.erb b/app/views/content_items/detailed_guide.html.erb index b7fa406fe..ef1996a6a 100644 --- a/app/views/content_items/detailed_guide.html.erb +++ b/app/views/content_items/detailed_guide.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/document_collection.html.erb b/app/views/content_items/document_collection.html.erb index 7ad2c6665..f89d335e5 100644 --- a/app/views/content_items/document_collection.html.erb +++ b/app/views/content_items/document_collection.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', + <%= render 'govuk_publishing_components/components/title', context: t("content_item.schema_name.#{@content_item.document_type}", count: 1), title: @content_item.title, average_title_length: "long" %> diff --git a/app/views/content_items/fatality_notice.html.erb b/app/views/content_items/fatality_notice.html.erb index 87eea550f..a7571105e 100644 --- a/app/views/content_items/fatality_notice.html.erb +++ b/app/views/content_items/fatality_notice.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/gone.html.erb b/app/views/content_items/gone.html.erb index d14ad84fc..4ae9cf2b8 100644 --- a/app/views/content_items/gone.html.erb +++ b/app/views/content_items/gone.html.erb @@ -1,6 +1,6 @@
- <%= render 'govuk_component/title', title: 'The page you\'re looking for is no longer available' %> + <%= render 'govuk_publishing_components/components/title', title: 'The page you\'re looking for is no longer available' %>

The information on this page has been removed because it was published in error. diff --git a/app/views/content_items/guide.html+print.erb b/app/views/content_items/guide.html+print.erb index e84a7030b..34c7e3f41 100644 --- a/app/views/content_items/guide.html+print.erb +++ b/app/views/content_items/guide.html+print.erb @@ -8,7 +8,7 @@

- <%= render 'govuk_component/title', { title: @content_item.title } %> + <%= render 'govuk_publishing_components/components/title', { title: @content_item.title } %> <% @content_item.parts.each_with_index do |part, index| %>

diff --git a/app/views/content_items/guide.html.erb b/app/views/content_items/guide.html.erb index e5d3f565b..2312a21f4 100644 --- a/app/views/content_items/guide.html.erb +++ b/app/views/content_items/guide.html.erb @@ -9,7 +9,7 @@
- <%= render 'govuk_component/title', { title: @content_item.title } %> + <%= render 'govuk_publishing_components/components/title', { title: @content_item.title } %> <% if @content_item.multi_page_guide? %>
<%= render 'govuk_publishing_components/components/inverse_header', {} do %> - <%= render 'govuk_component/title', + <%= render 'govuk_publishing_components/components/title', title: @content_item.title, context: I18n.t("content_item.schema_name.#{@content_item.format_sub_type}", count: 1), inverse: true, diff --git a/app/views/content_items/news_article.html.erb b/app/views/content_items/news_article.html.erb index 1ae6441b5..d7af938f6 100644 --- a/app/views/content_items/news_article.html.erb +++ b/app/views/content_items/news_article.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/publication.html.erb b/app/views/content_items/publication.html.erb index 3a5bc32f9..4f3020a59 100644 --- a/app/views/content_items/publication.html.erb +++ b/app/views/content_items/publication.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', + <%= render 'govuk_publishing_components/components/title', context: t("content_item.schema_name.#{@content_item.document_type}", count: 1), title: @content_item.title, average_title_length: "long" %> diff --git a/app/views/content_items/service_sign_in/_choose_sign_in.html.erb b/app/views/content_items/service_sign_in/_choose_sign_in.html.erb index b772eb100..3d23e28c0 100644 --- a/app/views/content_items/service_sign_in/_choose_sign_in.html.erb +++ b/app/views/content_items/service_sign_in/_choose_sign_in.html.erb @@ -17,7 +17,7 @@ <% end %> <%= form_tag({controller: 'content_items', action: 'service_sign_in_options'}, method: "post", data: { module: 'track-radio-group' }) do %> - <% legend_text = render 'govuk_component/title', title: @content_item.title %> + <% legend_text = render 'govuk_publishing_components/components/title', title: @content_item.title %> <%= render "govuk_publishing_components/components/fieldset", legend_text: legend_text do %>
diff --git a/app/views/content_items/service_sign_in/_create_new_account.html.erb b/app/views/content_items/service_sign_in/_create_new_account.html.erb index 5c84e8d94..2ed5b180c 100644 --- a/app/views/content_items/service_sign_in/_create_new_account.html.erb +++ b/app/views/content_items/service_sign_in/_create_new_account.html.erb @@ -2,7 +2,7 @@
- <%= render 'govuk_component/title', title: @content_item.title %> + <%= render 'govuk_publishing_components/components/title', title: @content_item.title %> <%= render 'govuk_publishing_components/components/govspeak', content: @content_item.body %>
diff --git a/app/views/content_items/specialist_document.html.erb b/app/views/content_items/specialist_document.html.erb index 7a78083a6..730f5b894 100644 --- a/app/views/content_items/specialist_document.html.erb +++ b/app/views/content_items/specialist_document.html.erb @@ -8,7 +8,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/speech.html.erb b/app/views/content_items/speech.html.erb index a50832e0f..147affb48 100644 --- a/app/views/content_items/speech.html.erb +++ b/app/views/content_items/speech.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
<%= render 'shared/translations' %>
diff --git a/app/views/content_items/statistical_data_set.html.erb b/app/views/content_items/statistical_data_set.html.erb index d0d52e917..3494a1b43 100644 --- a/app/views/content_items/statistical_data_set.html.erb +++ b/app/views/content_items/statistical_data_set.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', + <%= render 'govuk_publishing_components/components/title', context: t("content_item.schema_name.#{@content_item.document_type}", count: 1), title: @content_item.title, average_title_length: "long" %> diff --git a/app/views/content_items/statistics_announcement.html.erb b/app/views/content_items/statistics_announcement.html.erb index f43793472..a33665ef4 100644 --- a/app/views/content_items/statistics_announcement.html.erb +++ b/app/views/content_items/statistics_announcement.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %> <%= render 'govuk_publishing_components/components/lead_paragraph', text: @content_item.description %>
diff --git a/app/views/content_items/take_part.html.erb b/app/views/content_items/take_part.html.erb index ae82dc927..1f9d150cd 100644 --- a/app/views/content_items/take_part.html.erb +++ b/app/views/content_items/take_part.html.erb @@ -6,7 +6,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %> <%= render 'govuk_publishing_components/components/lead_paragraph', text: @content_item.description %>
diff --git a/app/views/content_items/travel_advice.html+print.erb b/app/views/content_items/travel_advice.html+print.erb index 9cdf49f50..e2a687ddb 100644 --- a/app/views/content_items/travel_advice.html+print.erb +++ b/app/views/content_items/travel_advice.html+print.erb @@ -8,7 +8,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %> <% @content_item.parts.each_with_index do |part, i| %>

diff --git a/app/views/content_items/travel_advice.html.erb b/app/views/content_items/travel_advice.html.erb index 6999e1434..ca2cfabd5 100644 --- a/app/views/content_items/travel_advice.html.erb +++ b/app/views/content_items/travel_advice.html.erb @@ -14,7 +14,7 @@
- <%= render 'govuk_component/title', @content_item.title_and_context %> + <%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>