<commit_before><header class="append-bottom title">
  <h1>Change your password</h1>

  <div class="clearfix"></div>

  <div class="tabs">
    <ul>
      <li class="account"><%= link_to "Account", edit_user_path(current_user) %></li>
      <li class="password active"><%= link_to "Change password", user_password_edit_path(current_user) %></li>
    </ul>
  </div>
</header>

<div class="row" id="edit_user">
  <div class="span8">
    <%= form_for(@user, :url => user_update_password_path(@user), :html => { :method => :put, :class => "form-horizontal" }) do |f| %>
      <fieldset>
        <legend></legend>
        <div class="control-group<%= " error" if @user.errors[:current_password].any? %>">
          <%= f.label :password, "<PASSWORD>", class: "control-label"  %>
          <div class="controls">
            <%= f.password_field :current_password, required: true, tabindex: 3 %>
            <% if @user.errors[:current_password].any? %>
              <span class="help-inline"><%= @user.errors[:current_password].first %></span>
            <% end %>
          </div>
        </div>

        <div class="control-group<%= " error" if @user.errors[:password].any? %>">
          <%= f.label :password, "<PASSWORD>", class: "control-label"  %>
          <div class="controls">
            <%= f.password_field :password, :autocomplete => "off", required: true, tabindex: 1 %>
            <% if @user.errors[:password].any? %>
              <span class="help-inline"><%= @user.errors[:password].first %></span>
            <% end %>
          </div>
        </div>

        <div class="control-group">
          <%= f.label :password_confirmation, "<PASSWORD> new password", class: "control-label" %>
          <div class="controls">
            <%= f.password_field :password_confirmation, required: true, tabindex: 2 %>
          </div>
        </div>

        <div class="controls">
          <%= f.submit "Change my password", class: "btn btn-primary" %>
        </div>
      </fieldset>
    <% end %>
  </div>
</div><commit_msg>Fixed tabindex for passwords<commit_after><header class="append-bottom title">
  <h1>Change your password</h1>

  <div class="clearfix"></div>

  <div class="tabs">
    <ul>
      <li class="account"><%= link_to "Account", edit_user_path(current_user) %></li>
      <li class="password active"><%= link_to "Change password", user_password_edit_path(current_user) %></li>
    </ul>
  </div>
</header>

<div class="row" id="edit_user">
  <div class="span8">
    <%= form_for(@user, :url => user_update_password_path(@user), :html => { :method => :put, :class => "form-horizontal" }) do |f| %>
      <fieldset>
        <legend></legend>
        <div class="control-group<%= " error" if @user.errors[:current_password].any? %>">
          <%= f.label :password, "<PASSWORD>", class: "control-label"  %>
          <div class="controls">
            <%= f.password_field :current_password, required: true, tabindex: 1 %>
            <% if @user.errors[:current_password].any? %>
              <span class="help-inline"><%= @user.errors[:current_password].first %></span>
            <% end %>
          </div>
        </div>

        <div class="control-group<%= " error" if @user.errors[:password].any? %>">
          <%= f.label :password, "<PASSWORD>", class: "control-label"  %>
          <div class="controls">
            <%= f.password_field :password, :autocomplete => "off", required: true, tabindex: 2 %>
            <% if @user.errors[:password].any? %>
              <span class="help-inline"><%= @user.errors[:password].first %></span>
            <% end %>
          </div>
        </div>

        <div class="control-group">
          <%= f.label :password_confirmation, "Confirm new password", class: "control-label" %>
          <div class="controls">
            <%= f.password_field :password_confirmation, required: true, tabindex: 3 %>
          </div>
        </div>

        <div class="controls">
          <%= f.submit "Change my password", class: "btn btn-primary" %>
        </div>
      </fieldset>
    <% end %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.19569471624266144, 'fraction_numerical': 0.0029354207436399216, 'mean_word_length': 2.612190812720848, 'pattern_counts': {'":': 0, '<': 126, '<?xml version=': 0, '>': 136, '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': '1448845', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1247, 'n_words': 270}