<commit_before>      <div class="page-content-header pure-g">
        <div class="pure-u">
          <h1 class="recipe-content-title"><%= t(:'users.edit') %></h1>
        </div>
      </div>

      <div class="page-content-body user-edit">

<%= form_for(resource,
             as: resource_name,
             url: registration_path(resource_name),
             html: { method: :put, class: 'pure-form pure-form-aligned' }) do |f| %>
  <%= render "devise/shared/error_messages", resource: resource %>
  <%= invisible_captcha %>

  <fieldset>
    <div class="field pure-control-group">
      <%= f.label :email %>
      <%= f.email_field :email, autofocus: true, autocomplete: "email" %>

      <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
        <div class="pure-form-message-inline"><em>Väntar på aktivering av: <%= resource.unconfirmed_email %></em></div>
      <% end %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :name %>
      <%= f.text_field :name,
        placeholder: t(:'activerecord.attributes.user.name') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :brewery %>
      <%= f.text_field :brewery,
        placeholder: t(:'activerecord.attributes.user.brewery') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :equipment %>
      <%= f.text_field :equipment,
        placeholder: t(:'activerecord.attributes.user.equipment') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :location %>
      <%= f.text_field :location,
        placeholder: t(:'activerecord.attributes.user.location') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :url %>
      <%= f.text_field :url,
        placeholder: t(:'activerecord.attributes.user.url') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :twitter %>
      <%= f.text_field :twitter,
        placeholder: t(:'activerecord.attributes.user.twitter') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :instagram %>
      <%= f.text_field :instagram,
        placeholder: t(:'activerecord.attributes.user.instagram') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :receive_email, class: 'pure-checkbox' %>
      <%= f.check_box :receive_email %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :presentation, class: 'large-group' %>
      <div class="quill-wrapper">
        <%= f.text_area :presentation, placeholder: t(:'activerecord.attributes.user.presentation'), class: 'quill_container' %>
      </div>
    </div>

    <div class="field pure-control-group">
      <%= f.label :password %>
      <%= f.password_field :password, autocomplete: "new-password",
        placeholder: t(:'<PASSWORD>') %>
      <%= form_info_icon(t(:'users.leave_pwd_blank')) %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :password_confirmation %>
      <%= f.password_field :password_confirmation, autocomplete: "new-password",
        placeholder: t(:'activerecord.attributes.user.password_confirmation') %>
      <%= form_info_icon(t(:'users.password_confirmation_description')) %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :current_password %>
      <%= f.password_field :current_password, autocomplete: "current-password",
        placeholder: t(:'activerecord.attributes.user.current_password')  %>
      <%= form_info_icon(t(:'users.pwd_needed_to_confirm')) %>
    </div>

    <div class="actions pure-controls">
      <%= f.submit t(:'users.save'), class: 'pure-button pure-button-primary' %>
<commit_msg>Move receive_email checkbox on profile edit page<commit_after>      <div class="page-content-header pure-g">
        <div class="pure-u">
          <h1 class="recipe-content-title"><%= t(:'users.edit') %></h1>
        </div>
      </div>

      <div class="page-content-body user-edit">

<%= form_for(resource,
             as: resource_name,
             url: registration_path(resource_name),
             html: { method: :put, class: 'pure-form pure-form-aligned' }) do |f| %>
  <%= render "devise/shared/error_messages", resource: resource %>
  <%= invisible_captcha %>

  <fieldset>
    <div class="field pure-control-group">
      <%= f.label :email %>
      <%= f.email_field :email, autofocus: true, autocomplete: "email" %>

      <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
        <div class="pure-form-message-inline"><em>Väntar på aktivering av: <%= resource.unconfirmed_email %></em></div>
      <% end %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :name %>
      <%= f.text_field :name,
        placeholder: t(:'activerecord.attributes.user.name') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :brewery %>
      <%= f.text_field :brewery,
        placeholder: t(:'activerecord.attributes.user.brewery') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :equipment %>
      <%= f.text_field :equipment,
        placeholder: t(:'activerecord.attributes.user.equipment') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :location %>
      <%= f.text_field :location,
        placeholder: t(:'activerecord.attributes.user.location') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :url %>
      <%= f.text_field :url,
        placeholder: t(:'activerecord.attributes.user.url') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :twitter %>
      <%= f.text_field :twitter,
        placeholder: t(:'activerecord.attributes.user.twitter') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :instagram %>
      <%= f.text_field :instagram,
        placeholder: t(:'activerecord.attributes.user.instagram') %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :presentation, class: 'large-group' %>
      <div class="quill-wrapper">
        <%= f.text_area :presentation, placeholder: t(:'activerecord.attributes.user.presentation'), class: 'quill_container' %>
      </div>
    </div>

    <div class="field pure-control-group">
      <%= f.label :password %>
      <%= f.password_field :password, autocomplete: "new-password",
        placeholder: t(:'<PASSWORD>.user.password') %>
      <%= form_info_icon(t(:'users.leave_pwd_blank')) %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :password_confirmation %>
      <%= f.password_field :password_confirmation, autocomplete: "new-password",
        placeholder: t(:'activerecord.attributes.user.password_confirmation') %>
      <%= form_info_icon(t(:'users.password_confirmation_description')) %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :current_password %>
      <%= f.password_field :current_password, autocomplete: "current-password",
        placeholder: t(:'<PASSWORD>erecord.attributes.user.current_password')  %>
      <%= form_info_icon(t(:'users.pwd_needed_to_confirm')) %>
    </div>

    <div class="field pure-control-group">
      <%= f.label :receive_email, class: 'pure-checkbox' %>
      <%= f.check_box :receive_email %>
    </div>

    <div class="actions pure-controls">
      <%= f.submit t(:'users.save'), class: 'pure-button pure-button-primary' %>

{'fraction_non_alphanumeric': 0.1796116504854369, 'fraction_numerical': 0.0005393743257820927, 'mean_word_length': 3.0113574905354246, 'pattern_counts': {'":': 0, '<': 162, '<?xml version=': 0, '>': 162, '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': '3621102', 'n_tokens_mistral': 2591, 'n_tokens_neox': 2331, 'n_words': 408}