<commit_before><div data-hook="admin_user_form_fields" class="row">
  <div class="alpha six columns">
    <%= f.field_container :email do %>
        <%= f.label :email, Spree.t(:email) %>
        <%= f.email_field :email, :class => 'fullwidth' %>
        <% %>
        <%= error_message_on :user, :email %>
    <% end %>

    <div data-hook="admin_user_form_roles" class="field">
      <%= label_tag nil, Spree.t(:roles) %>
      <ul>
        <% @roles.each do |role| %>
            <li>
              <%= check_box_tag 'user[spree_role_ids][]', role.id, @user.spree_roles.include?(role), :id => "user_spree_role_#{role.name}" %>
              <%= label_tag role.name %>
            </li>
        <% end %>
      </ul>
      <%= hidden_field_tag 'user[spree_role_ids][]', '' %>
    </div>

  </div>

  <div class="omega six columns">
    <%= f.field_container :password do %>
        <%= f.label :password, Spree.t(:password) %>
        <%= f.password_field :password, :class => 'fullwidth' %>
        <%= f.error_message_on :password %>
    <% end %>

    <%= f.field_container :password do %>
        <%= f.label :password_confirmation, Spree.t(:confirm_password) %>
        <%= f.password_field :password_confirmation, :class => 'fullwidth' %>
        <%= f.error_message_on :password_confirmation %>
    <% end %>
  </div>
  <div class="alpha six columns">
    <%= f.field_container :customer_code do %>
        <%= f.label :customer_code, Spree.t(:customer_code) %>
        <%= f.text_field :customer_code, :class => 'fullwidth', placeholder: @user.id, readonly: true %>
    <% end %>

   </div>
  <div class="omega six columns">
  <%= f.field_container :avalara_entity_use_code_id do %>
      <%= label_tag :avalara_entity_use_code_id, t(:avalara_entity_use_code) %><br />
      <%= hidden_field_tag 'user[avalara_entity_use_code_id]', f.object.avalara_entity_use_code_id , :class => "use_code_picker fullwidth" %>
  <% end %>


  </div>
  <div class="omega six columns">
    <%= f.field_container :exemption_number do %>
        <%= f.label :exemption_number, Spree.t(:exemption_number) %>
        <%= f.text_field :exemption_number, :class => 'fullwidth' %>
    <% end %>

  </div>

</div><commit_msg>cleaned up code<commit_after><div data-hook="admin_user_form_fields" class="row">
  <div class="alpha six columns">
    <%= f.field_container :email do %>
    <%= f.label :email, Spree.t(:email) %>
    <%= f.email_field :email, :class => 'fullwidth' %>
    <% %>
    <%= error_message_on :user, :email %>
    <% end %>

    <div data-hook="admin_user_form_roles" class="field">
      <%= label_tag nil, Spree.t(:roles) %>
      <ul>
        <% @roles.each do |role| %>
        <li>
          <%= check_box_tag 'user[spree_role_ids][]', role.id, @user.spree_roles.include?(role), :id => "user_spree_role_#{role.name}" %>
          <%= label_tag role.name %>
        </li>
        <% end %>
      </ul>
      <%= hidden_field_tag 'user[spree_role_ids][]', '' %>
    </div>

  </div>

  <div class="omega six columns">
    <%= f.field_container :password do %>
    <%= f.label :password, Spree.t(:password) %>
    <%= f.password_field :password, :class => 'fullwidth' %>
    <%= f.error_message_on :password %>
    <% end %>
    <%= f.field_container :password do %>
    <%= f.label :password_confirmation, Spree.t(:confirm_password) %>
    <%= f.password_field :password_confirmation, :class => 'fullwidth' %>
    <%= f.error_message_on :password_confirmation %>
    <% end %>
  </div>
  <div class="alpha six columns">
    <div class="field">
      <label>Customer Code</label>
      <input type="text" class="fullwidth" placeholder="<%= @user.id %>", readonly>
    </div>
  </div>
  <div class="omega six columns">
    <%= f.field_container :avalara_entity_use_code_id do %>
    <%= label_tag :avalara_entity_use_code_id, t(:avalara_entity_use_code) %><br />
    <%= hidden_field_tag 'user[avalara_entity_use_code_id]', f.object.avalara_entity_use_code_id , :class => "use_code_picker fullwidth" %>
    <% end %>
  </div>
  <div class="omega six columns">
    <%= f.field_container :exemption_number do %>
    <%= f.label :exemption_number, Spree.t(:exemption_number) %>
    <%= f.text_field :exemption_number, :class => 'fullwidth' %>
    <% end %>
  </div>

</div>
{'fraction_non_alphanumeric': 0.18619883040935672, 'fraction_numerical': 0.0, 'mean_word_length': 3.188050930460333, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 124, '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': '5096272', 'n_tokens_mistral': 1637, 'n_tokens_neox': 1494, 'n_words': 265}