<commit_before><%= link_to_function I18n.t('wall.post_a_message'), "Element.show('wall_message'); $('message_body').focus();" %>

<div id="wall_message">
  <% remote_form_for Message.new(:wall => @person), :html => {:style => 'border:none;'}, :update => 'wall_content' do |form| %>
    <%= form.hidden_field :wall_id %>
    <em><%= I18n.t("wall.to_send_a_private_message", :url => new_message_path(:to_person_id => @person)) %></em><br/>
    <%= form.text_area :body, :rows => 3, :cols => 40 %>
    <strong><%= I18n.t('wall.respect_privacy') %></strong><br/>
    <%= submit_tag I18n.t('wall.save_message')%>
  <% end %>
</div>

<script type="text/javascript">Element.hide('wall_message');</script>
<commit_msg>Fix remote_form_for.<commit_after><%= link_to_function I18n.t('wall.post_a_message'), "Element.show('wall_message'); $('message_body').focus();" %>

<div id="wall_message">
  <% form_for Message.new(:wall => @person), :remote => true, :html => {:style => 'border:none;'}, :update => 'wall_content' do |form| %>
    <%= form.hidden_field :wall_id %>
    <em><%= I18n.t("wall.to_send_a_private_message", :url => new_message_path(:to_person_id => @person)) %></em><br/>
    <%= form.text_area :body, :rows => 3, :cols => 40 %>
    <strong><%= I18n.t('wall.respect_privacy') %></strong><br/>
    <%= submit_tag I18n.t('wall.save_message')%>
  <% end %>
</div>

<script type="text/javascript">Element.hide('wall_message');</script>

{'fraction_non_alphanumeric': 0.2428670842032011, 'fraction_numerical': 0.015309672929714684, 'mean_word_length': 5.657407407407407, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 56, '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': '6869315', 'n_tokens_mistral': 571, 'n_tokens_neox': 526, 'n_words': 83}