<commit_before><% if activity.errors.present? %>
  <%= display_validation_errors(activity) %>
<% end %>
<%= form_for([current_community, :eoir_caller, friend, activity], controller: 'friends/activities', remote: true) do |f| %>
  <div class='form-inputs'>

    <div class='row form-group'>
      <%= f.label :activity_type_id, 'Type', class: 'col-md-12 control-label' %>
      <div class='col-md-12'>
        <%= collection_select(:activity, :activity_type_id, ActivityType.eoir_caller_editable.by_name, :id, :display_name_with_accompaniment_eligibility, prompt: true) %>
      </div>
    </div>

    <div class='row form-group'>
      <%= f.label :location_id, 'Location', class: 'col-md-12 control-label' %>
      <div class='col-md-12'>
        <%= collection_select(:activity, :location_id, locations_by_name(current_region), :id, :name, {prompt: true}, {class: 'form-control chzn-select'}) %>
      </div>
    </div>

    <div class='row form-group'>
      <%= f.label :judge_id, 'Judge', class: 'col-md-12 control-label' %>
      <div class='col-md-12'>
        <%= collection_select(:activity, :judge_id, current_region.judges.active, :id, :name, {prompt: true}, {class: 'form-control chzn-select'}) %>
      </div>
    </div>

    <div class='row form-group'>
      <%= f.label :occur_at, 'Date/Time', class: 'col-md-12 control-label' %><commit_msg>add note about EOIR hotline location<commit_after><% if activity.errors.present? %>
  <%= display_validation_errors(activity) %>
<% end %>
<%= form_for([current_community, :eoir_caller, friend, activity], controller: 'friends/activities', remote: true) do |f| %>
  <div class='form-inputs'>

    <div class='row form-group'>
      <%= f.label :activity_type_id, 'Type', class: 'col-md-12 control-label' %>
      <div class='col-md-12'>
        <%= collection_select(:activity, :activity_type_id, ActivityType.eoir_caller_editable.by_name, :id, :display_name_with_accompaniment_eligibility, prompt: true) %>
      </div>
    </div>

    <div class='row form-group'>
      <%= f.label :location_id, 'Location', class: 'col-md-12 control-label' %>
      <div class='col-md-12'>
        <%= collection_select(:activity, :location_id, locations_by_name(current_region), :id, :name, {prompt: true}, {class: 'form-control chzn-select'}) %>
        <span class="text-muted">Select 'EOIR Hotline' if there is no physical location</span>
      </div>
    </div>

    <div class='row form-group'>
      <%= f.label :judge_id, 'Judge', class: 'col-md-12 control-label' %>
      <div class='col-md-12'>
        <%= collection_select(:activity, :judge_id, current_region.judges.active, :id, :name, {prompt: true}, {class: 'form-control chzn-select'}) %>
      </div>
    </div>

    <div class='row form-group'>
      <%= f.label :occur_at, 'Date/Time', class: 'col-md-12 control-label' %>
{'fraction_non_alphanumeric': 0.18608757062146894, 'fraction_numerical': 0.009887005649717515, 'mean_word_length': 3.8844827586206896, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '1559671', 'n_tokens_mistral': 1045, 'n_tokens_neox': 962, 'n_words': 199}