Skip to content

Commit 20b9094

Browse files
committed
Split condition onto multiple lines
To make it easier to see the changes I want to make to it.
1 parent 962ea8a commit 20b9094

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/smart_answer_flows/marriage-abroad/outcomes/outcome_os_consular_cni.govspeak.erb

+5-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,11 @@
260260

261261
<% end %>
262262
<% else %>
263-
<% if calculator.partner_is_same_sex? || (no_document_download_link_if_os_resident_of_uk_countries.exclude?(calculator.ceremony_country) && (cni_notary_public_countries + %w(macedonia) - %w(greece tunisia)).include?(calculator.ceremony_country)) %>
263+
<% if calculator.partner_is_same_sex? ||
264+
(
265+
no_document_download_link_if_os_resident_of_uk_countries.exclude?(calculator.ceremony_country) &&
266+
(cni_notary_public_countries + %w(macedonia) - %w(greece tunisia)).include?(calculator.ceremony_country)
267+
) %>
264268
<%= render partial: 'download_and_fill_notice_and_affidavit_but_not_sign.govspeak.erb' %>
265269

266270
<% end %>

0 commit comments

Comments
 (0)