<commit_before><%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>

<h1><%= Spree.t(:editing_user) %></h1>

<%= form_for @user, :url => spree.user_path(@user), :method => :put do |f| %>
  <%= render :partial => 'spree/shared/user_form', :locals => { :f => f } %>
  <p>
    <%= f.submit Spree.t(:update), :class => 'button primary' %>
  </p>
<% end %><commit_msg>Fix a compatibility issue with form_for as provided by other helper replacement gems.<commit_after><%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>

<h1><%= Spree.t(:editing_user) %></h1>

<%= form_for Spree::User.new, :as => @user, :url => spree.user_path(@user), :method => :put do |f| %>
  <%= render :partial => 'spree/shared/user_form', :locals => { :f => f } %>
  <p>
    <%= f.submit Spree.t(:update), :class => 'button primary' %>
  </p>
<% end %>
{'fraction_non_alphanumeric': 0.24608501118568232, 'fraction_numerical': 0.0044742729306487695, 'mean_word_length': 4.3273809523809526, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 42, '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': '1865700', 'n_tokens_mistral': 355, 'n_tokens_neox': 332, 'n_words': 78}