<commit_before>= render "shared/flash_messages"

.box.application-box
  = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
    = f.input :email, required: true, autofocus: true

    - if devise_mapping.confirmable? && resource.pending_reconfirmation?
      p Esperando confirmação pelo e-mail: = resource.unconfirmed_email

    = f.input :name, autofocus: true, required: true
    = f.input :password, autocomplete: "off", hint: "Deixe vazio se não deseja alterar", required: false
    = f.input :password_confirmation, required: false
    = f.input :current_password, hint: "Informe sua senha atual para salvar as alterações", required: true

    .form-actions = f.button :submit, "Atualizar"

  = link_to "Back", :back<commit_msg>Alterando estrutura da view para utilizar novo layout<commit_after>= render "shared/flash_messages"

.form
  = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
    = f.input :email, required: true, autofocus: true

    - if devise_mapping.confirmable? && resource.pending_reconfirmation?
      p Esperando confirmação pelo e-mail: = resource.unconfirmed_email

    = f.input :name, autofocus: true, required: true
    = f.input :password, autocomplete: "off", hint: "Deixe vazio se não deseja alterar", required: false
    = f.input :password_confirmation, required: false
    = f.input :current_password, hint: "Informe sua senha atual para salvar as alterações", required: true

    .form-footer
      .form-footer-text.form-footer-link = link_to "Voltar", :back
      = f.button :submit, "Atualizar"
{'fraction_non_alphanumeric': 0.11284513805522209, 'fraction_numerical': 0.0, 'mean_word_length': 4.377419354838709, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2549388', 'n_tokens_mistral': 546, 'n_tokens_neox': 528, 'n_words': 151}