Browse Source

Fix lint offences

pull/2550/head
Manny Dinssa 2 years ago
parent
commit
d32cf11108
  1. 8
      app/views/form/guidance/_financial_calculations_shared_ownership.html.erb

8
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) %> multiplied by the percentage equity stake <%= question_link("equity", log, current_user) %>
<% end %> <% end %>
<% else %> <% else %>
The mortgage amount <%= "(#{govuk_link_to 'Q92', send("#{log.class.name.underscore}_#{mortgage_page.id}_path", log)})".html_safe %> The mortgage amount (<%= govuk_link_to "Q92", send("#{log.class.name.underscore}_#{mortgage_page.id}_path", log) %>)
deposit <%= "(#{govuk_link_to 'Q96', send("#{log.class.name.underscore}_#{deposit_page.id}_path", log)})".html_safe %> and deposit (<%= govuk_link_to "Q96", send("#{log.class.name.underscore}_#{deposit_page.id}_path", log) %>)
added together must equal added together must equal
the purchase price (<%= govuk_link_to 'Q89', send("#{log.class.name.underscore}_#{value_page.id}_path", log) %>) 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 %> multiplied by the percentage equity stake (<%= govuk_link_to "Q90", send("#{log.class.name.underscore}_#{equity_page.id}_path", log) %>)
<% end %> <% end %>
</p> </p>
<% end %> <% end %>

Loading…
Cancel
Save