<commit_before><%= 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 %><commit_msg>Add data-hooks to users/edit<commit_after><%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>

<div id="edit-account">
  <h1><%= Spree.t(:editing_user) %></h1>
  
  <div data-hook="account_edit">
    <%= 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 %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.25571725571725573, 'fraction_numerical': 0.004158004158004158, 'mean_word_length': 3.674757281553398, 'pattern_counts': {'":': 0, '<': 27, '<?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': '4431087', 'n_tokens_mistral': 391, 'n_tokens_neox': 370, 'n_words': 77}