<commit_before><% @page_title = t(:my_account) %>

<div id="accounts-wrapper">
  <div id="accounts">
    <div id="edit-account-form" class="form-stacked">
      <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
        <fieldset>
          <legend>Editar mis datos</legend>
          <div class="form-field">
            <%= f.label t(:email) %>
            <%= f.email_field :email %>
            <% unless resource.errors[:email].blank? %>
              <span class="error_message"><%= resource.errors[:email].to_sentence %></span>
            <% end %>
          </div>
          <div class="form-field">
            <%= f.label t(:password) %> <span class="note">(dejala en blanco si no quieres cambiarla)</span>
            <%= f.password_field :password, :style => "display:none;", :name => "fuckautocompleteonfirstpasswd" %>
            <%= f.password_field :password %>
            <% unless resource.errors[:password].blank? %>
              <span class="error_message"><%= resource.errors[:password].to_sentence %></span>
            <% end %>
          </div>
          <div class="form-field">
            <%= f.label t(:password_confirmation) %>
            <%= f.password_field :password_confirmation %>
          </div>
          <div class="form-field">
            <%= f.label t(:current_password) %> <span class="note">(necesitamos tu contraseña actual para realizar los cambios)</span>
            <%= f.password_field :current_password %>
            <% unless resource.errors[:current_password].blank? %>
              <span class="error_message"><%= resource.errors[:current_password].to_sentence %></span>
            <% end %>
          </div>
          <div class="form-actions">
            <%= f.submit t(:update), :class => 'btn primary' %>
          </div>
        </fieldset>
      <% end %>
      <h3>Cancelar mi cuenta</h3>
      <p>¿No te gusta oiga.me? Puedes <%= link_to 'cancelar tu cuenta', registration_path(resource_name), :confirm => '¿Estas seguro?', :method => :delete %>.</p>
    </div><!-- edit-account-form -->
  </div><!-- accounts -->
</div><!-- accounts-wrapper -->
<commit_msg>Cambios en cancelar cuenta<commit_after><% @page_title = t(:my_account) %>

<div id="accounts-wrapper">
  <div id="accounts">
    <div id="edit-account-form" class="form-stacked">
      <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
        <fieldset>
          <legend>Editar mis datos</legend>
          <div class="form-field">
            <%= f.label t(:email) %>
            <%= f.email_field :email %>
            <% unless resource.errors[:email].blank? %>
              <span class="error_message"><%= resource.errors[:email].to_sentence %></span>
            <% end %>
          </div>
          <div class="form-field">
            <%= f.label t(:password) %> <span class="note">(dejala en blanco si no quieres cambiarla)</span>
            <%= f.password_field :password, :style => "display:none;", :name => "<PASSWORD>" %>
            <%= f.password_field :password %>
            <% unless resource.errors[:password].blank? %>
              <span class="error_message"><%= resource.errors[:password].to_sentence %></span>
            <% end %>
          </div>
          <div class="form-field">
            <%= f.label t(:password_confirmation) %>
            <%= f.password_field :password_confirmation %>
          </div>
          <div class="form-field">
            <%= f.label t(:current_password) %> <span class="note">(necesitamos tu contraseña actual para realizar los cambios)</span>
            <%= f.password_field :current_password %>
            <% unless resource.errors[:current_password].blank? %>
              <span class="error_message"><%= resource.errors[:current_password].to_sentence %></span>
            <% end %>
          </div>
          <div class="form-actions">
            <%= f.submit t(:update), :class => 'btn primary' %>
          </div>
        </fieldset>
      <% end %>
      <h3>Cancelar mi cuenta</h3>
      <p>¿Deseas cancelar tu cuenta? Puedes <%= link_to 'cancelar tu cuenta', registration_path(resource_name), :confirm => '¿Estas seguro?', :method => :delete %>.</p>
    </div><!-- edit-account-form -->
  </div><!-- accounts -->
</div><!-- accounts-wrapper -->

{'fraction_non_alphanumeric': 0.18542896050839763, 'fraction_numerical': 0.0009078529278256923, 'mean_word_length': 2.403088803088803, 'pattern_counts': {'":': 0, '<': 124, '<?xml version=': 0, '>': 142, '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': '2000898', 'n_tokens_mistral': 1393, 'n_tokens_neox': 1299, 'n_words': 265}