From a1d69211861d1a05a179636e8957804f8556d7d0 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:04:07 +0100 Subject: [PATCH] Fix spacing again (#2570) --- .../_financial_calculations_shared_ownership.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/form/guidance/_financial_calculations_shared_ownership.html.erb b/app/views/form/guidance/_financial_calculations_shared_ownership.html.erb index 9a87a55d3..0741e6afa 100644 --- a/app/views/form/guidance/_financial_calculations_shared_ownership.html.erb +++ b/app/views/form/guidance/_financial_calculations_shared_ownership.html.erb @@ -1,9 +1,8 @@ <%= govuk_details(summary_text: "How the financial values are calculated") do %>

<% if log.mortgage_used? || log.mortgageused.blank? %> - The mortgage amount <%= log.mortgageused.blank? ? question_link("mortgageused", log, current_user) : question_link("mortgage", log, current_user) %> - <% if log.type == 18 %> - , cash deposit <%= question_link("deposit", log, current_user) %>, + <% mortgage_question_link = log.mortgageused.blank? ? question_link("mortgageused", log, current_user) : question_link("mortgage", log, current_user) %> + The mortgage amount <%= mortgage_question_link %><% if log.type == 18 %>, cash deposit <%= question_link("deposit", log, current_user) %>, and cash discount <%= question_link("cashdis", log, current_user) %> added together <% else %>