<commit_before><div class="page-header">
<h1>Forgot your password?</h1>
</div>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }, :html => { :class => 'form-horizontal' })  do |f| %>
 <div class="control-group">
         <%= f.label :email , :class => 'control-label'%>
         <div class="controls">
                 <%= f.email_field :email, :autofocus => true , :class => 'text_field'  %>
         </div>
         <% if @user.errors[:email].any? %>
            <div id="error_explanation">
              <ul>
              <% @user.errors.full_messages.each do |msg| %>
                <li><%= msg %></li>
              <% end %>
              </ul>
            </div>
          <% end %>
 </div>

   <div class="form-actions">
          <%= f.submit "Send me reset password instructions", :class => 'btn btn-primary'  %>
  </div>
<% end %>

<%= render "devise/shared/links" %><commit_msg>#1125697 Fixing error messages<commit_after><div class="page-header">
<h1>Forgot your password?</h1>
</div>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }, :html => { :class => 'form-horizontal' })  do |f| %>
 <div class="control-group">
         <%= f.label :email , :class => 'control-label'%>
         <div class="controls">
                 <%= f.email_field :email, :autofocus => true , :class => 'text_field' do %>
         <% if @user.errors[:email].any? %>
         <span class="help-inline">
              <% @user.errors.full_messages.each do |msg| %>
                <%= msg %>
              <% end %>

          </span>  
          <% end %>         
          <% end %>
         </div>
 </div>

   <div class="form-actions">
          <%= f.submit "Send me reset password instructions", :class => 'btn btn-primary'  %>
  </div>
<% end %>

<%= render "devise/shared/links" %>
{'fraction_non_alphanumeric': 0.2032477737035097, 'fraction_numerical': 0.005762179151388162, 'mean_word_length': 2.178036605657238, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 74, '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': '2478578', 'n_tokens_mistral': 655, 'n_tokens_neox': 603, 'n_words': 131}