<commit_before><%# load the mapping API %>
<% content_for(:per_page_js){ javascript_include_tag("https://maps.googleapis.com/maps/api/js?sensor=false") } %>

<%# title includes ID if defined %>
<% @title_args = {:id => @response.id} %>

<%= render("layouts/location_picker") %>

<% @response.answers.collect{|a| a.errors.full_messages.join(", ")}.join(" ") %>

<%# show an edit link if allowed and in show mode %>
<% if params[:action] == 'show' && can?(:update, @response) %>
  <div class="tip">
    <%= action_link('edit', edit_response_path(@response)) %>
    <%= link_to(t('response.edit_this_response'), edit_response_path(@response)) %>
  </div>
<% end %>

<%= elmo_form_for(@response) do |f| %>

  <%= top_action_links(@response, :except => :new) %>

  <%= f.field(:form_id, :type => :hidden) %>
<commit_msg>removed duplicate response edit link<commit_after><%# load the mapping API %>
<% content_for(:per_page_js){ javascript_include_tag("https://maps.googleapis.com/maps/api/js?sensor=false") } %>

<%# title includes ID if defined %>
<% @title_args = {:id => @response.id} %>

<%= render("layouts/location_picker") %>

<% @response.answers.collect{|a| a.errors.full_messages.join(", ")}.join(" ") %>

<%= elmo_form_for(@response) do |f| %>

  <%= top_action_links(@response, :except => :new) %>

  <%= f.field(:form_id, :type => :hidden) %>

{'fraction_non_alphanumeric': 0.22575869726128794, 'fraction_numerical': 0.0, 'mean_word_length': 5.4688995215311005, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 34, 'https://': 2, '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': '6253857', 'n_tokens_mistral': 522, 'n_tokens_neox': 466, 'n_words': 83}