Skip to content

Commit

Permalink
Merge pull request #3508 from alphagov/change-devolved-option
Browse files Browse the repository at this point in the history
Change option on devolved nations component
  • Loading branch information
andysellick authored Jan 13, 2025
2 parents 6fc482e + 9216594 commit a91838a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ GEM
govuk_personalisation (1.1.0)
plek (>= 1.9.0)
rails (>= 6, < 9)
govuk_publishing_components (47.0.0)
govuk_publishing_components (48.0.0)
govuk_app_config
govuk_personalisation (>= 0.7.0)
kramdown
Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/call_for_evidence.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<% if @content_item.national_applicability.present? %>
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
content_type: @content_item.schema_name,
} %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/consultation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<% if @content_item.national_applicability.present? %>
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
content_type: @content_item.schema_name,
} %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/detailed_guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<% if @content_item.national_applicability.present? %>
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
content_type: @content_item.schema_name,
} %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/html_publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<% if @content_item.national_applicability.present? %>
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
content_type: @content_item.schema_name,
} %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<% if @content_item.national_applicability.present? %>
<%= render "govuk_publishing_components/components/devolved_nations", {
national_applicability: @content_item.national_applicability,
type: @content_item.schema_name,
content_type: @content_item.schema_name,
} %>
<% end %>

Expand Down

0 comments on commit a91838a

Please sign in to comment.