<commit_before><%= bootstrap_devise_error_messages! %>
<div class="container container--narrow">

  <h2 class="title">Your Settings</h2>

  <div class="form-group">
    <label for="user_email">Your API Token:</label>
    <input autofocus="autofocus" class="form-control" type="text" disabled="true" value="<%= resource.authentication_token %>">
  </div>

  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>

    <div class="form-group">
      <%= f.label :email %>
      <%= f.email_field :email, autofocus: true, class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :username %><i> (used for your apps URL, i.e.: https://rnplay.org/username/apps)</i><br />
      <%= f.text_field :username, class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :name %><i> (your name, displayed on your apps)</i><br />
      <%= f.text_field :name, class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :password %> <i>(<%= t('.leave_blank_if_you_don_t_want_to_change_it', :default => "leave blank if you don't want to change your password") %>)</i><br />
      <%= f.password_field :password, :autocomplete => "off", class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :password_confirmation %><br />
      <%= f.password_field :password_confirmation, class: "form-control"  %>
    </div>

    <div class="checkbox">
      <label>
        <%= f.check_box :use_vim_keybindings %><commit_msg>Remove password confirmation<commit_after><%= bootstrap_devise_error_messages! %>
<div class="container container--narrow">

  <h2 class="title">Your Settings</h2>

  <div class="form-group">
    <label for="user_email">Your API Token:</label>
    <input autofocus="autofocus" class="form-control" type="text" disabled="true" value="<%= resource.authentication_token %>">
  </div>

  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>

    <div class="form-group">
      <%= f.label :email %>
      <%= f.email_field :email, autofocus: true, class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :username %><i> (used for your apps URL, i.e.: https://rnplay.org/username/apps)</i><br />
      <%= f.text_field :username, class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :name %><i> (your name, displayed on your apps)</i><br />
      <%= f.text_field :name, class: "form-control" %>
    </div>

    <div class="form-group">
      <%= f.label :password %> <i>(<%= t('.leave_blank_if_you_don_t_want_to_change_it', :default => "leave blank if you don't want to change your password") %>)</i><br />
      <%= f.password_field :password, :autocomplete => "off", class: "form-control" %>
    </div>

    <div class="checkbox">
      <label>
        <%= f.check_box :use_vim_keybindings %>
{'fraction_non_alphanumeric': 0.20173391130376792, 'fraction_numerical': 0.001333777925975325, 'mean_word_length': 3.6367851622874805, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 100, 'https://': 2, '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': '3738385', 'n_tokens_mistral': 1083, 'n_tokens_neox': 1008, 'n_words': 224}