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 %>