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

<% content_for :body do %>

  <% if calculator.resident_of_uk? %>
    <%= render partial: 'contact_embassy_of_ceremony_country_in_uk_marriage.govspeak.erb',
               locals: { calculator: calculator } %>
  <% elsif calculator.resident_of_ceremony_country? %>
    <%= render partial: 'contact_local_authorities_in_country_marriage.govspeak.erb',
               locals: { calculator: calculator } %>

  <% elsif calculator.resident_of_third_country? %>
    <%= render partial: 'contact_local_authorities_in_country_marriage.govspeak.erb',
               locals: { calculator: calculator } %>

  <% elsif calculator.resident_of_ceremony_country && calculator.ceremony_country == 'thailand' %>
    <%= render partial: 'contact_local_authorities_in_country_marriage.govspeak.erb',
               locals: { calculator: calculator } %>

  <% end %>


  <% if %w(ecuador).exclude?(calculator.ceremony_country) %>
    <% if calculator.resident_of_ceremony_country? %>
      <%= render partial: 'get_legal_advice.govspeak.erb' %>
    <% else %>
      <%= render partial: 'get_legal_and_travel_advice.govspeak.erb',<commit_msg>DRY up outcome for opposite sex marriages in affirmation countries<commit_after><% content_for :title do %>
  Marriage in <%= calculator.country_name_lowercase_prefix %>
<% end %>

<% content_for :body do %>

  <% if calculator.resident_of_uk? %>
    <%= render partial: 'contact_embassy_of_ceremony_country_in_uk_marriage.govspeak.erb',
               locals: { calculator: calculator } %>
  <% else %>
    <%= render partial: 'contact_local_authorities_in_country_marriage.govspeak.erb',
               locals: { calculator: calculator } %>

  <% end %>


  <% if %w(ecuador).exclude?(calculator.ceremony_country) %>
    <% if calculator.resident_of_ceremony_country? %>
      <%= render partial: 'get_legal_advice.govspeak.erb' %>
    <% else %>
      <%= render partial: 'get_legal_and_travel_advice.govspeak.erb',
{'fraction_non_alphanumeric': 0.1293774319066148, 'fraction_numerical': 0.0, 'mean_word_length': 4.129675810473816, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4270026', 'n_tokens_mistral': 744, 'n_tokens_neox': 655, 'n_words': 103}