<commit_before>- @title = 'Settings'
- @menu_title = 'Account settings'
- @theme = 'sunset'

- content_for :body_class do
  myapnea-sunset-bg

- content_for :header do
  .header-container
    .container
      %h1.page-heading
        = @title

.row
  .col-sm-3.col-sticky
    = render 'internal/settings_menu'
  .col-sm-9
    .dashboard-container
      .settings-title Change password

      .settings-body
        %p
          %strong Old password

        %p
          %strong New password

        %p
          %strong Confirm new password

      .settings-title.text-danger Delete account
      .settings-body
        %p
          Once you delete your account, there is no going back. Any forum posts
          you have made will also be deleted.

        = link_to 'Delete My Account', delete_account_path, method: :delete, class: 'btn btn-danger btn-shadow', data: { confirm: 'Are you sure you want to PERMANENTLY delete your account?' }



<commit_msg>Shorter messages for alerts<commit_after>- @title = 'Settings'
- @menu_title = 'Account settings'
- @theme = 'sunset'

- content_for :body_class do
  myapnea-sunset-bg

- content_for :header do
  .header-container
    .container
      %h1.page-heading
        = @title

.row
  .col-sm-3.col-sticky
    = render 'internal/settings_menu'
  .col-sm-9
    .dashboard-container
      .settings-title Change password

      .settings-body
        %p
          %strong Old password

        %p
          %strong New password

        %p
          %strong Confirm new password

      .settings-title.text-danger Delete account
      .settings-body
        %p
          Once you delete your account, there is no going back. Any forum posts
          you have made will also be deleted.

        = link_to 'Delete My Account', delete_account_path, method: :delete, class: 'btn btn-danger btn-shadow', data: { confirm: 'Delete your account PERMANENTLY?' }




{'fraction_non_alphanumeric': 0.09229155742003146, 'fraction_numerical': 0.003146303093864709, 'mean_word_length': 2.2013422818791946, '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': '124433', 'n_tokens_mistral': 583, 'n_tokens_neox': 562, 'n_words': 177}