anchor.diff:                   locals: { calculator: calculator } %>
       <% end %>
     <% end %>
  -  <% if false %>
  -    <% if calculator.ceremony_country == 'croatia' %>
   
  -      ###Applying for a CNI from the <%= calculator.embassy_or_consulate_ceremony_country %>
  +  <% if calculator.partner_is_same_sex? ||
  +    (
  +      calculator.document_download_link_if_opposite_sex_resident_of_uk_countries? &&
  +      (calculator.notary_public_ceremony_country? || %w(macedonia).include?(calculator.ceremony_country)) &&
  +      %w(greece tunisia).exclude?(calculator.ceremony_country)
  +    ) %>
  +    <%= render partial: 'download_and_fill_notice_and_affidavit_but_not_sign.govspeak.erb' %>
   
  -      <%= render partial: "three_day_residency_requirement.govspeak.erb",
  -                 locals: {
  -                   country_name_lowercase_prefix: calculator.country_name_lowercase_prefix
  -                 } %>
  -
  -      You can then book an appointment at the embassy to give notice of your marriage. There’s a fee for this service (read the table on this page).
  -
  -    <% elsif calculator.ceremony_country == 'nicaragua' %>
  -      If you need a CNI, you must arrange this through the British Embassy in Costa Rica because there aren’t any British consular facilities in Nicaragua.
  -
  -
  -    <% elsif %w(kazakhstan macedonia russia).exclude?(calculator.ceremony_country) %>
  -      To get a CNI, you must post notice of your intended marriage in <%= calculator.country_name_lowercase_prefix %>. You can do this at the British embassy or in front of a notary public.
  -
  -
  -    <% end %>
  -
  -    <% if %w(croatia italy russia).exclude?(calculator.ceremony_country) && calculator.three_day_residency_requirement_applies? %>
  -      <%= render partial: "three_day_residency_requirement.govspeak.erb",
  -                 locals: {
  -                   country_name_lowercase_prefix: calculator.country_name_lowercase_prefix
  -                 } %>
  -    <% end %>
  -
  -    <% if calculator.ceremony_country == 'greece' %>
  -      ### Posting notice in front of a notary public
  -      If you choose to post notice before a local notary public, you must email the embassy in advance to get the forms you need.
  -
  -      <consular.athens@fco.gov.uk>
  -
  -      <% if false %>
  -        ^Some notaries public might not let you post notice. If a local notary public doesn’t sign your forms you’ll have to post notice at the British Embassy in Athens.^
  -      <% end %>
  -
  -      ### Posting notice at the embassy
  -
  -    <% end %>
  -    <% if calculator.ceremony_country == 'estonia' && false %>
  -      ^You may be able to get married without a CNI if you have a permanent address in Estonia and have a 6 month residence permit - contact the local authorities to find out.^
  -
  -    <% end %>
  -    <% if calculator.ceremony_country == 'kyrgyzstan' %>
  -      If you need a CNI, you’ll first need to give notice of your intended marriage (banns) at the British Embassy Office in Bishkek.
  -
  -    <% elsif calculator.ceremony_country == 'kazakhstan' %>
  -      If you need a CNI, you’ll first need to give notice of your intended marriage (banns) at the British Embassy Office in Astana.
  -
  -    <% elsif calculator.ceremony_country == 'russia' %>
  -      If you need a CNI, you’ll first need to give notice of your intended marriage at your nearest British <%= calculator.embassy_or_consulate_ceremony_country %>.
  -
  -      ###Applying for a CNI from the consulate
  -
  -      <%= render partial: "three_day_residency_requirement.govspeak.erb",
  -                 locals: {
  -                   country_name_lowercase_prefix: "the Russian Federation"
  -                 } %>
  -      You can then book an appointment at the consulate in the district you’re living in, to give notice of your marriage.
  -
  -
  -    <% end %>
  -    <% if calculator.ceremony_country == 'macedonia' %>
  -      Contact a notary public or British Embassy in Macedonia to get advice:
  -
  -      $C
  -      British Embassy Macedonia
  -      Telephone: + 389 (2) 3299 299
  -      <consular.skopje@fco.gov.uk>
  -      $C
  -
  -      %You can’t book an appointment to get advice at the embassy in person.%
  -
  -    <% elsif calculator.ceremony_country == 'sudan' %>
  -      Contact the embassy or consulate to make an appointment.
  -
  -      $A
  -      British Embassy Khartoum
  -      off Sharia Al Baladia
  -      PO Box No 801, Khartoum East
  -      Khartoum
  -      Sudan
  -      $A
  -
  -      $C
  -      Telephone: +249 (0)156 775500
  -      Fax: +249 (0)156 775501
  -
  -      Email: <information.khartoum@fco.gov.uk>
  -
  -      [British Embassy Khartoum - opening hours](/government/world/organisations/british-embassy-khartoum/office/british-embassy-khartoum-main-contact)
  -      $C
  -
  -    <% elsif calculator.ceremony_country == 'moldova' %>
  -      Contact the embassy or consulate to make an appointment.
  -
  -      $A
  -      British Embassy Chisinau
  -      18 Nicolae Iorga Str.
  -      Chisinau
  -      MD-2012
  -      Moldova
  -      $A
  -
  -      $C
  -      Telephone: (+373) (22) 225 902
  -      Fax: (+373) (22) 251 859
  -
  -      Email: <Enquiries.Chisinau@fco.gov.uk>
  -
  -      [British Embassy Chisinau - opening hours](/government/world/organisations/british-embassy-chisinau/office/british-embassy)
  -      $C
  -
  -    <% else %>
  -      <%= render partial: 'contact_method.govspeak.erb',
  -                 locals: { calculator: calculator } %>
  -    <% end %>
  -  <% end %>
  -  <% if false && calculator.ceremony_country == 'egypt' %>
  -    <%= render partial: 'required_supporting_documents_egypt.govspeak.erb' %>
  -  <% elsif false && calculator.ceremony_country == 'greece' %>
  -    You’ll need to provide supporting documents, including:
  -
  -    - your passport
  -    - Greek ID card (if available)
  -    - proof of residence, such as a residence permit - check with the embassy or notary public to find out what you need
  -    - equivalent documents for your partner
  -
  -
  -  <% elsif false && calculator.ceremony_country == 'philippines' %>
  -    <%= render partial: 'required_supporting_documents_philippines.govspeak.erb' %>
  -  <% elsif false && calculator.ceremony_country == 'macao' %>
  -    <%= render partial: 'required_supporting_documents_macao.govspeak.erb' %>
  -  <% elsif false %>
  -    <% if calculator.birth_certificate_required_as_supporting_document? && (calculator.notary_public_ceremony_country? || %w(japan macedonia).include?(calculator.ceremony_country)) %>
  -      You’ll need to provide supporting documents, including:
  -
  -      - your passport
  -      - your [full birth certificate](/order-copy-birth-death-marriage-certificate/) or [naturalisation certificate](/get-replacement-citizenship-certificate)
  -      - proof of residence, such as a residence certificate - check with the <%= calculator.embassy_or_consulate_ceremony_country %> or notary public to find out what you need
  -      - equivalent documents for your partner
  -
  -
  -    <% elsif calculator.birth_certificate_required_as_supporting_document? %>
  -      You’ll need to provide supporting documents, including:
  -
  -      - your passport
  -      <% unless calculator.ceremony_country == 'jordan' && false %>
  -        - your [full birth certificate](/order-copy-birth-death-marriage-certificate/) or [naturalisation certificate](/get-replacement-citizenship-certificate)
  -      <% end %>
  -      - proof of residence, such as a residence certificate - check with the <%= calculator.embassy_or_consulate_ceremony_country %> to find out what you need
  -      - equivalent documents for your partner
  -
  -
  -    <% elsif (calculator.notary_public_ceremony_country? || %w(japan macedonia).include?(calculator.ceremony_country)) %>
  -      You’ll need to provide supporting documents, including:
  -
  -      - your passport
  -      - proof of residence, such as a residence certificate - check with the <%= calculator.embassy_or_consulate_ceremony_country %> or notary public to find out what you need
  -      - equivalent documents for your partner
  -
  -
  -    <% else %>
  -      <%= render partial: 'required_supporting_documents.govspeak.erb',
  -                 locals: { calculator: calculator } %>
  -
  -    <% end %>
  -    <% if calculator.ceremony_country == 'jordan' %>
  -      ^Documents must be originals if you are getting married at the Sharia Court.^
  -
  -    <% end %>
  -  <% end %>
  -
  -  <% if false %>
  -    <% if calculator.ceremony_country == 'greece' %>
  -      You’ll need to fill in forms for your notice of marriage, and complete an affirmation (non-religious) or affidavit (religious) stating that you’re free to marry.
  -
  -      You can download and fill in (but not sign) the forms in advance. You’ll need to take the forms with you to your appointment.
  -
  -
  -      $D
  -      [Download ‘Notice of marriage’](/government/publications/notice-of-marriage-form--2)
  -
  -      [Download ‘Affidavit and affirmation for marriage’](/government/publications/affirmationaffidavit-of-marital-status-form)
  -      $D
  -
  -
  -    <% else %>
  -      <%= render partial: 'download_and_fill_notice_and_affidavit_but_not_sign.govspeak.erb' %>
  -
  -    <% end %>
  -  <% else %>
  -    <% if calculator.partner_is_same_sex? ||
  -      (
  -        calculator.document_download_link_if_opposite_sex_resident_of_uk_countries? &&
  -        (calculator.notary_public_ceremony_country? || %w(macedonia).include?(calculator.ceremony_country)) &&
  -        %w(greece tunisia).exclude?(calculator.ceremony_country)
  -      ) %>
  -      <%= render partial: 'download_and_fill_notice_and_affidavit_but_not_sign.govspeak.erb' %>
  -
  -    <% end %>
     <% end %>
   
     <%= render partial: 'names_on_documents_must_match.govspeak.erb' %>
   
  -  <% if false %>
  -
  -    <% if calculator.partner_british? && %w(finland).exclude?(calculator.ceremony_country) %>
  -      ^Your partner will need to follow the same process and pay the fees to get their own CNI.^
  -    <% end %>
  -
  -    <% if calculator.ceremony_country == 'kazakhstan' %>
  -      <%= render partial: 'display_notice_of_marriage_7_days.govspeak.erb',
  -                 locals: { calculator: calculator } %>
  -
  -    <% end %>
  -
  -    <% if false %>
  -      <% if calculator.ceremony_country == 'jordan' %>
  -
  -        If you or your partner have been divorced, widowed or previously in a civil partnership, you’ll also need whichever of the following documents is appropriate:
  -
  -        - a [single divorced declaration document](/government/publications/single-declaration-form-for-islamic-marriages-if-you-are-divorced-jordan) if you’re getting married at the Sharia Court
  -        - a [decree absolute or final order](/copy-decree-absolute-final-order)
  -        - a civil partnership dissolution or annulment certificate
  -        - your (or your partner’s) former spouse or civil partner’s [death certificate](/order-copy-birth-death-marriage-certificate/)
  -
  -      <% else %>
  -        <%= render partial: 'consular_cni_os_not_uk_resident_ceremony_not_germany.govspeak.erb' %>
  -
  -      <% end %>
  -
  -      ^You’ll also need to provide evidence of nationality or residence if the divorce or dissolution took place outside the UK. You’ll need to get it [legalised](/get-document-legalised) and [translated](/government/collections/lists-of-translators-and-interpreters) if it’s not in English.^
  -
  -    <% end %>
  -
  -    <% if calculator.ceremony_country == 'greece' %>
  -      ###What happens next
  -
  -      The embassy or notary public can take your oath or affirmation and witness your notice of marriage. The notary public may charge 2 separate fees for this.
  -
  -      If you give notice at a notary public, you must post the signed forms and any supporting documents to the British Embassy in Athens afterwards.
  -
  -      The embassy will display your notice of marriage publicly for 7 days (from the day after they receive your payment). They’ll then issue the CNI on the 8th day (as long as nobody has registered an objection).
  -
  -      There’s an additional fee for this - the embassy or consulate will contact you to arrange payment.
  -
  -      You can then collect your CNI at the British embassy in Athens or ask for it to be sent to you by post. You must provide the registrar’s original Notice of Marriage if you posted notice in the UK.
  -
  -      [Make an appointment to collect your CNI at the embassy in Athens](https://www.consular-appointments.service.gov.uk/fco/#!/british-embassy-athens/certificate-of-no-impediment/slot_picker).
  -
  -    <% elsif calculator.notary_public_ceremony_country? %>
  -      ###What happens next
  -
  -      The embassy or notary public will charge a fee for taking the oath.
  -
  -      If you give notice at a notary public, you must post the signed forms and any supporting documents to your nearest British embassy or consulate afterwards.
  -
  -      ^The embassy or consulate may charge a fee to return your documents to you.^
  -
  -      The consulate will display your notice of marriage publicly for 7 days.
  -
  -      They’ll then send all of your documentation to the British embassy or consulate nearest to where you’re getting married in <%= calculator.country_name_lowercase_prefix %>, who will issue your CNI (as long as nobody has registered an objection).
  -
  -      There’s an additional fee for this - the embassy or consulate will contact you to arrange payment.
  -
  -
  -    <% else %>
  -      <%= render partial: 'display_notice_of_marriage_7_days.govspeak.erb',
  -                 locals: { calculator: calculator } %>
  -
  -    <% end %>
  -  <% elsif calculator.requires_7_day_notice? %>
  +  <% if calculator.requires_7_day_notice? %>
       <%= render partial: 'display_notice_of_marriage_7_days.govspeak.erb',
                  locals: { calculator: calculator } %>
   
  
positive.code: 
    <% end %>
  
    <% if false %>
      <%= render partial: 'check_if_cni_needs_to_be_legalised.govspeak.erb',
                 locals: { calculator: calculator } %>
  
    <% end %>
    <% if false %>
      <%= render partial: 'you_dont_need_to_stay_in_country.govspeak.erb' %>
  
    <% end %>
    <% if calculator.partner_not_british? %>
  
      <%= render partial: 'partner_naturalisation_in_uk.govspeak.erb' %>
  
negative.code:       <%= render partial: 'contact_embassy_of_ceremony_country_in_uk_marriage.govspeak.erb',
                   locals: { calculator: calculator } %>
      <% end %>
    <% end %>
  
    <% if %w(jordan oman qatar).include?(calculator.ceremony_country) %>
      <%= render partial: 'gulf_states_os_consular_cni.govspeak.erb',
                 locals: { calculator: calculator } %>
  
    <% end %>
  
    <%= render partial: 'get_legal_and_travel_advice.govspeak.erb',
               locals: { calculator: calculator } %>
  
    <%= render partial: 'what_you_need_to_do.govspeak.erb',
        locals: { calculator: calculator } %>
  
    <% if calculator.ceremony_country == 'jordan' %>
  
      If you’re getting married at the Sharia Court, you’ll need to provide a [single declaration document](/government/publications/single-declaration-form-for-islamic-marriages-jordan) to prove you’re allowed to marry, or a [single divorced declaration document](/government/publications/single-declaration-form-for-islamic-marriages-if-you-are-divorced-jordan) if you’re divorced.
  
  