<commit_before><% content_for :title do %>
  Marriage in <%= country_name_lowercase_prefix %>
<% end %>

<% content_for :body do %>
  <%= render partial: 'contact_local_authorities_in_country_marriage.govspeak.erb',
             locals: {
               country_name_lowercase_prefix: country_name_lowercase_prefix,
               ceremony_country: ceremony_country
             } %>

  <%= render partial: 'get_legal_and_travel_advice.govspeak.erb',
             locals: {
               country_name_lowercase_prefix: country_name_lowercase_prefix,
               ceremony_country: ceremony_country
             } %>

  <% if data_query.os_no_marriage_related_consular_services?(ceremony_country) %>
    <%= render partial: 'cni_os_consular_facilities_unavailable.govspeak.erb',
               locals: {
                 country_name_lowercase_prefix: country_name_lowercase_prefix
               } %>

  <% end %>
  <%= render partial: 'what_you_need_to_do.govspeak.erb' %>

  <% if ceremony_country == 'norway' %>
    You’ll need to prove that you’re allowed to marry. There are 2 ways you can do this:

    - [go to the UK and post notice with a UK registrar](<%= uk_residence_outcome_path %>)
    - [go to <%= country_name_lowercase_prefix %> and swear an affidavit (written statement of facts) that you’re free to marry](<%= ceremony_country_residence_outcome_path %>)
  <% else %>
    <%= render partial: 'you_will_be_asked_for_cni.govspeak.erb' %>

    <% if ceremony_country == 'nicaragua' %>
      There are 2 ways you can get a CNI:

      - [go to the UK and post notice with a UK registrar](<%= uk_residence_outcome_path %>)
      - [arrange this through the British Embassy in Costa Rica](<%= ceremony_country_residence_outcome_path %>)


      %If you choose to post notice in Costa Rica, you’ll normally have to wait at least 10 days before you can get married.%
    <% else %>
      There are 2 ways you can get a CNI:

      - [go to the UK and post notice with a UK registrar](<%= uk_residence_outcome_path %>)
      - [go to <%= country_name_lowercase_prefix %> and post notice at the embassy or consulate there](<%= ceremony_country_residence_outcome_path %>)

      <% if ceremony_country == 'greece' %>
        %If you choose to post notice in <%= country_name_lowercase_prefix %>, you’ll normally have to wait at least 14 days before you can apply to get married.%
      <% else %>
        %If you choose to post notice in <%= country_name_lowercase_prefix %>, you’ll normally have to wait at least 10 days before you can get married.%
      <% end -%>

      <% if ceremony_country == 'poland' %>
        <%= render partial: 'check_if_uk_issued_cnis_accepted.govspeak.erb',
                   locals: {
                     country_name_lowercase_prefix: country_name_lowercase_prefix
                   } -%>
      <% end %>
    <% end %>
  <% end %>


  *[CNI]:Certificate of no impediment
<% end %><commit_msg>Remove duplicated content in marriage abroad<commit_after><% content_for :title do %>
  Marriage in <%= country_name_lowercase_prefix %>
<% end %>

<% content_for :body do %>
  <%= render partial: 'contact_local_authorities_in_country_marriage.govspeak.erb',
             locals: {
               country_name_lowercase_prefix: country_name_lowercase_prefix,
               ceremony_country: ceremony_country
             } %>

  <%= render partial: 'get_legal_and_travel_advice.govspeak.erb',
             locals: {
               country_name_lowercase_prefix: country_name_lowercase_prefix,
               ceremony_country: ceremony_country
             } %>

  <% if data_query.os_no_marriage_related_consular_services?(ceremony_country) %>
    <%= render partial: 'cni_os_consular_facilities_unavailable.govspeak.erb',
               locals: {
                 country_name_lowercase_prefix: country_name_lowercase_prefix
               } %>

  <% end %>
  <%= render partial: 'what_you_need_to_do.govspeak.erb' %>

  <% if ceremony_country == 'norway' %>
    You’ll need to prove that you’re allowed to marry. There are 2 ways you can do this:

    - [go to the UK and post notice with a UK registrar](<%= uk_residence_outcome_path %>)
    - [go to <%= country_name_lowercase_prefix %> and swear an affidavit (written statement of facts) that you’re free to marry](<%= ceremony_country_residence_outcome_path %>)
  <% else %>
    <%= render partial: 'you_will_be_asked_for_cni.govspeak.erb' %>

    <% if ceremony_country == 'nicaragua' %>
      There are 2 ways you can get a CNI:

      - [go to the UK and post notice with a UK registrar](<%= uk_residence_outcome_path %>)
      - [arrange this through the British Embassy in Costa Rica](<%= ceremony_country_residence_outcome_path %>)


      %If you choose to post notice in Costa Rica, you’ll normally have to wait at least 10 days before you can get married.%
    <% else %>
      There are 2 ways you can get a CNI:

      - [go to the UK and post notice with a UK registrar](<%= uk_residence_outcome_path %>)
      - [go to <%= country_name_lowercase_prefix %> and post notice at the embassy or consulate there](<%= ceremony_country_residence_outcome_path %>)

      <% if ceremony_country == 'greece' %>
        %If you choose to post notice in <%= country_name_lowercase_prefix %>, you’ll normally have to wait at least 14 days before you can apply to get married.%
      <% else %>
        <%= render partial: 'you_will_have_to_wait_to_get_married.govspeak.erb',
                   locals: {
                     country_name_lowercase_prefix: country_name_lowercase_prefix
                   } %>
      <% end -%>

      <% if ceremony_country == 'poland' %>
        <%= render partial: 'check_if_uk_issued_cnis_accepted.govspeak.erb',
                   locals: {
                     country_name_lowercase_prefix: country_name_lowercase_prefix
                   } -%>
      <% end %>
    <% end %>
  <% end %>


  *[CNI]:Certificate of no impediment
<% end %>
{'fraction_non_alphanumeric': 0.09864344330932842, 'fraction_numerical': 0.002679618154412996, 'mean_word_length': 2.9186351706036744, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2283242', 'n_tokens_mistral': 1946, 'n_tokens_neox': 1761, 'n_words': 493}