<commit_before>- content_for :page_title do
  = t('auth.change_password')

= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
  = render 'shared/error_messages', object: resource

  - if f.object.initial_password_usage
    %p.hint= t('auth.send_password_setting_url', email: f.object.email)
    .actions
      = f.button :button, t('auth.reset_password'), type: :submit
  - else
    = f.input :email, placeholder: t('simple_form.labels.defaults.email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }
    = f.input :password, autocomplete: "off", placeholder: t('simple_form.labels.defaults.new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.new_password') }
    = f.input :password_confirmation, autocomplete: "off", placeholder: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password') }
    = f.input :current_password, autocomplete: "off", placeholder: t('simple_form.labels.defaults.current_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password') }

    .actions
      = f.button :button, t('generic.save_changes'), type: :submit

<<<<<<< HEAD
- unless current_user.initial_password_usage
=======
- if open_deletion?
>>>>>>> 946a166791e5a1a10778e15ca4a9f5f10c961134
  %hr/

  %h6= t('auth.delete_account')
  %p.muted-hint= t('auth.delete_account_html', path: settings_delete_path)<commit_msg>Resolve a merged conflict - app/views/auth/registrations/edit.html.haml<commit_after>- content_for :page_title do
  = t('auth.change_password')

= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
  = render 'shared/error_messages', object: resource

  - if f.object.initial_password_usage
    %p.hint= t('auth.send_password_setting_url', email: f.object.email)
    .actions
      = f.button :button, t('auth.reset_password'), type: :submit
  - else
    = f.input :email, placeholder: t('simple_form.labels.defaults.email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }
    = f.input :password, autocomplete: "off", placeholder: t('simple_form.labels.defaults.new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.new_password') }
    = f.input :password_confirmation, autocomplete: "off", placeholder: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password') }
    = f.input :current_password, autocomplete: "off", placeholder: t('simple_form.labels.defaults.current_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password') }

    .actions
      = f.button :button, t('generic.save_changes'), type: :submit

- if open_deletion? && !current_user.initial_password_usage
  %hr/

  %h6= t('auth.delete_account')
  %p.muted-hint= t('auth.delete_account_html', path: settings_delete_path)
{'fraction_non_alphanumeric': 0.15697865353037768, 'fraction_numerical': 0.010180623973727421, 'mean_word_length': 5.536480686695279, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 18, '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': '241687', 'n_tokens_mistral': 1027, 'n_tokens_neox': 995, 'n_words': 170}