From d32cf11108c9f388a14e4e348b0f6fa8b9dedc23 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:46:59 +0100 Subject: [PATCH] Fix lint offences --- .../_financial_calculations_shared_ownership.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 369428ef2..6ccfae6cf 100644 --- a/app/views/form/guidance/_financial_calculations_shared_ownership.html.erb +++ b/app/views/form/guidance/_financial_calculations_shared_ownership.html.erb @@ -18,11 +18,11 @@ multiplied by the percentage equity stake <%= question_link("equity", log, current_user) %> <% end %> <% else %> - The mortgage amount <%= "(#{govuk_link_to 'Q92', send("#{log.class.name.underscore}_#{mortgage_page.id}_path", log)})".html_safe %> - deposit <%= "(#{govuk_link_to 'Q96', send("#{log.class.name.underscore}_#{deposit_page.id}_path", log)})".html_safe %> + The mortgage amount (<%= govuk_link_to "Q92", send("#{log.class.name.underscore}_#{mortgage_page.id}_path", log) %>) + and deposit (<%= govuk_link_to "Q96", send("#{log.class.name.underscore}_#{deposit_page.id}_path", log) %>) added together must equal - the purchase price (<%= govuk_link_to 'Q89', send("#{log.class.name.underscore}_#{value_page.id}_path", log) %>) - multiplied by the percentage equity stake <%= "(#{govuk_link_to 'Q90', send("#{log.class.name.underscore}_#{equity_page.id}_path", log)}).".html_safe %> + the purchase price (<%= govuk_link_to "Q89", send("#{log.class.name.underscore}_#{value_page.id}_path", log) %>) + multiplied by the percentage equity stake (<%= govuk_link_to "Q90", send("#{log.class.name.underscore}_#{equity_page.id}_path", log) %>) <% end %>

<% end %>