<commit_before><div class="authform">
  <h2>Edit <%= current_user.email %> (<%= current_user.name %>)</h2>

  <%= bootstrap_form_for resource, as: resource_name, url: registration_path(resource_name), html: { method: :put } do |f| %>
    <%= devise_error_messages! %>

    <h3>Change your account details</h3>
    <%= f.email_field :email %>
    <%= f.text_field :name %>

    <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
      <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div>
    <% end %>

    <h3>Change your password</h3>
    <%= f.password_field :password %>
    <%= f.password_field :password_confirmation %>

    <h3>Enter your current password to save any changes</h3>
    <%= f.password_field :current_password %>
    <%= f.submit "Update info", class: 'btn btn-primary' %>
  <% end %>
  <br>

  <%= link_to "Back", :back %><commit_msg>adds back autofocus: true attribute<commit_after><div class="authform">
  <h2>Edit <%= current_user.email %> (<%= current_user.name %>)</h2>

  <%= bootstrap_form_for resource, as: resource_name, url: registration_path(resource_name), html: { method: :put } do |f| %>
    <%= devise_error_messages! %>

    <h3>Change your account details</h3>
    <%= f.email_field :email, autofocus: true %>
    <%= f.text_field :name %>

    <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
      <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div>
    <% end %>

    <h3>Change your password</h3>
    <%= f.password_field :password %>
    <%= f.password_field :password_confirmation %>

    <h3>Enter your current password to save any changes</h3>
    <%= f.password_field :current_password %>
    <%= f.submit "Update info", class: 'btn btn-primary' %>
  <% end %>
  <br>

  <%= link_to "Back", :back %>
{'fraction_non_alphanumeric': 0.17036235803136832, 'fraction_numerical': 0.008653326122228232, 'mean_word_length': 4.013550135501355, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '3303423', 'n_tokens_mistral': 682, 'n_tokens_neox': 596, 'n_words': 134}