Skip to content

Commit

Permalink
Merge pull request #7550 from ministryofjustice/ap-5648-merits-questi…
Browse files Browse the repository at this point in the history
…ons-for-sca-not-shown-on-cya

AP-5648: Fix bug on merits CYA page
  • Loading branch information
jsugarman authored Dec 30, 2024
2 parents 4dd18d1 + 866968b commit b7cee4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/roles/permissions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
local: true,
) do |form| %>

<div class="govuk-!-margin-top-0govuk-!-padding-bottom-2">
<div class="govuk-!-margin-top-0 govuk-!-padding-bottom-2">
<fieldset class="govuk-fieldset">
<div class="govuk-checkboxes">
<div class="govuk-grid-row govuk-!-margin-top-0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
) %>
<% end %>
<% end %>
<% if proceeding.section8? || (proceeding.special_childrens_act? && proceeding.client_involvement_type_ccms_code == "D") %>
<% if proceeding.section8? || (proceeding.special_childrens_act? && proceeding.client_involvement_type_ccms_code.in?(["A", "D"])) %>
<%= summary_list.with_row(html_attributes: { id: "app-check-your-answers__#{proceeding.id}_linked_children" }) do |row| %>
<%= row.with_key(text: t(".linked_children"), classes: "govuk-!-width-one-half") %>
<%= row.with_value(text: linked_children_names(proceeding)) %>
Expand Down

0 comments on commit b7cee4d

Please sign in to comment.