<commit_before><h1><%= _('Location') %></h1>
<div class="error">
  <%= flash[:error] %>
</div>

<%= form_for :profile_data, :url => {:action => 'edit_location'}, :html => {:id => 'location-form'} do |f| %>

  <div id='location-fields'>
    <%= select_country _('Country'), 'profile_data', 'country', {:class => 'type-select'} %>
    <%= labelled_form_field _('State'), f.text_field(:state) %>
    <%= labelled_form_field _('City'), f.text_field(:city) %>
    <%= labelled_form_field _('ZIP code'), text_field(:profile_data, :zip_code) %>
    <%= labelled_form_field _('Address (street and number)'), text_field(:profile_data, :address) %>
    <%= labelled_form_field _('Address completion'), text_field(:profile_data, :address_line2) %>
    <% button_bar do %>
      <%= button_to_function :search, _('Locate in the map'), "addressToPoint()", :title => _("Locate the address informed above in the map below (note that you'll probably need to adjust the marker to get a precise position)")  %><commit_msg>Specify controller to work out of context<commit_after><h1><%= _('Location') %></h1>
<div class="error">
  <%= flash[:error] %>
</div>

<%= form_for :profile_data, :url => {controller: :maps, :action => 'edit_location'}, :html => {:id => 'location-form'} do |f| %>

  <div id='location-fields'>
    <%= select_country _('Country'), 'profile_data', 'country', {:class => 'type-select'} %>
    <%= labelled_form_field _('State'), f.text_field(:state) %>
    <%= labelled_form_field _('City'), f.text_field(:city) %>
    <%= labelled_form_field _('ZIP code'), text_field(:profile_data, :zip_code) %>
    <%= labelled_form_field _('Address (street and number)'), text_field(:profile_data, :address) %>
    <%= labelled_form_field _('Address completion'), text_field(:profile_data, :address_line2) %>
    <% button_bar do %>
      <%= button_to_function :search, _('Locate in the map'), "addressToPoint()", :title => _("Locate the address informed above in the map below (note that you'll probably need to adjust the marker to get a precise position)")  %>
{'fraction_non_alphanumeric': 0.19610705596107056, 'fraction_numerical': 0.00291970802919708, 'mean_word_length': 5.485804416403785, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 47, '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': '1196757', 'n_tokens_mistral': 714, 'n_tokens_neox': 652, 'n_words': 170}