<commit_before><div class="container">

  <div class="row">
    <div class="col-md-6 col-md-offset-3">
      <h1>Update your profile</h1>

      <%= form_for(@user) do |f| %>

        <%= f.label :name %>
        <%= f.text_field :username, class: 'form-control' %>

        <%= f.label :email %>
        <%= f.email_field :email, class: 'form-control' %>

        <%= f.label :password %>
        <%= f.password_field :password, class: 'form-control' %>

        <%= f.submit "Save changes", class: "btn btn-primary" %>
      <% end %><br>
    </div>
  </div>
</div><commit_msg>errors show when editing profile<commit_after><div class="container">
  <div class="row">
    <div class="col-md-6 col-md-offset-3">
      <h1>Update your profile</h1>
      <%if @errors%>
      <%@errors.each do|error|%>
          <ul>
            <li><%=error%></li>
          </ul>
        <%end%>
      <%end%>
      <%= form_for(@user) do |f| %>

        <%= f.label :name %>
        <%= f.text_field :username, class: 'form-control' %>

        <%= f.label :email %>
        <%= f.email_field :email, class: 'form-control' %>

        <%= f.label :password %>
        <%= f.password_field :password, class: 'form-control' %>

        <%= f.submit "Save changes", class: "btn btn-primary" %>
      <% end %><br>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.21331316187594554, 'fraction_numerical': 0.006051437216338881, 'mean_word_length': 2.2033898305084745, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, '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': '7531051', 'n_tokens_mistral': 507, 'n_tokens_neox': 457, 'n_words': 96}