|
7 | 7 | <div class="govuk-grid-row">
|
8 | 8 | <div class="govuk-grid-column-two-thirds">
|
9 | 9 | <%= render 'govuk_publishing_components/components/title',
|
10 |
| - context: t("content_item.schema_name.#{@content_item.document_type}", count: 1), |
11 |
| - context_locale: t_locale_fallback("content_item.schema_name.#{@content_item.document_type}", count: 1), |
12 |
| - title: @content_item.title, |
13 |
| - average_title_length: "long" %> |
| 10 | + context: t("content_item.schema_name.#{@content_item.document_type}", count: 1), |
| 11 | + context_locale: t_locale_fallback("content_item.schema_name.#{@content_item.document_type}", count: 1), |
| 12 | + title: @content_item.title, |
| 13 | + average_title_length: "long" %> |
14 | 14 | </div>
|
15 | 15 | <%= render 'shared/translations' %>
|
16 | 16 |
|
|
27 | 27 | <div class="govuk-grid-row">
|
28 | 28 | <div class="govuk-grid-column-two-thirds">
|
29 | 29 | <div class="responsive-bottom-margin">
|
30 |
| - <%= render "govuk_publishing_components/components/devolved_nations", national_applicability: @content_item.national_applicability || {} %> |
| 30 | + <%= render "govuk_publishing_components/components/devolved_nations", { |
| 31 | + national_applicability: @content_item.national_applicability || {}, |
| 32 | + type: @content_item.schema_name |
| 33 | + } %> |
31 | 34 |
|
32 | 35 | <div class="responsive-bottom-margin">
|
33 | 36 | <%= render "attachments",
|
|
0 commit comments