Skip to content

Commit

Permalink
Merge pull request #7068 from ministryofjustice/ap-5219-linking-cases…
Browse files Browse the repository at this point in the history
…-page-spacing

AP-5219: Update spacing to make consistent and use default margins
  • Loading branch information
agoldstone93 authored Aug 21, 2024
2 parents 7e522fc + 2ded131 commit cc45fe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
actions: false,
) do |summary_list| %>
<%= summary_list.with_row do |row| %>
<%= row.with_key(text: t(".laa_reference"), classes: "govuk-!-width-one-half") %>
<%= row.with_key(text: t(".laa_reference")) %>
<%= row.with_value(text: @legal_aid_application.target_application&.application_ref) %>
<% end %>
<%= summary_list.with_row do |row| %>
<%= row.with_key(text: t(".client"), classes: "govuk-!-width-one-half") %>
<%= row.with_key(text: t(".client")) %>
<%= row.with_value(text: @legal_aid_application.target_application&.applicant&.full_name) %>
<% end %>
<%= summary_list.with_row do |row| %>
<%= row.with_key(text: t(".proceedings"), classes: "govuk-!-width-one-half") %>
<%= row.with_key(text: t(".proceedings")) %>
<%= row.with_value(text: @legal_aid_application.target_application&.proceedings&.map(&:meaning)&.join(", ")) %>
<% end %>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/providers/link_application/copies/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
form:,
template: :basic,
) do %>
<h1 class="govuk-heading-xl govuk-!-margin-bottom-1"><%= t(".heading") %></h1>
<h1 class="govuk-heading-xl"><%= t(".heading") %></h1>
<%= govuk_summary_list(actions: false, classes: "govuk-summary-list--no-border") do |summary_list|
summary_list.with_row do |row|
row.with_key { t(".reference") }
Expand Down

0 comments on commit cc45fe7

Please sign in to comment.