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

  <%= bootstrap_form_for resource, as: resource_name, url: '/users', html: { method: :put } do |f| %>
    <%= devise_error_messages! %>

    <%= f.static_control :email %>
    <%= f.static_control :role %>
    <%= f.text_field :name, label: 'First and last name' %>

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

    <%= f.password_field :<PASSWORD>_password, autocomplete: 'off' %>

    <%= f.submit "Update info", class: 'btn btn-primary' %>
  <% end %>
  <br>
  <%= link_to "Back", :back %>
</div>
<commit_msg>readd password reset link<commit_after><div class="authform">
  <h2>User panel for <%= current_user.email %> (<%= current_user.name %>)</h2>

  <%= bootstrap_form_for resource, as: resource_name, url: '/users', html: { method: :put } do |f| %>
    <%= devise_error_messages! %>

    <%= f.static_control :email %>
    <%= f.static_control :role %>
    <%= f.text_field :name, label: 'First and last name' %>

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

    <%= link_to "Forgot your password?", new_user_password_path %>

    <%= f.password_field :current_password, autocomplete: 'off' %>

    <%= f.submit "Update info", class: 'btn btn-primary' %>
  <% end %>
  <br>
  <%= link_to "Back", :back %>
</div>

{'fraction_non_alphanumeric': 0.18878504672897195, 'fraction_numerical': 0.0024922118380062306, 'mean_word_length': 3.95679012345679, 'pattern_counts': {'":': 0, '<': 47, '<?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': '4616619', 'n_tokens_mistral': 614, 'n_tokens_neox': 526, 'n_words': 122}