<commit_before><form class="wy-form-stacked" {{action "changePassword" on="submit"}}>

<section class="wh-content-head">
  <h1>{{t 'wh.settings.general.account.title'}}</h1>
</section>

<section class="wh-content-edit">
  <div class="wy-control-group">
    <label>{{t 'wh.settings.general.account.language'}}</label>
    <div class="wy-control">
      {{#each supportedLanguages}}
        <a {{action "chooseLanguage" code}}>{{language}}</a>
      {{/each}}
    </div>
  </div>
</section>

<section class="wh-content-head wh-content-head-again">
  <h1>{{t 'wh.settings.password.title'}}</h1>
</section>

<section class="wh-content-edit">
  <div class="wy-control-group">
    <label>{{t 'wh.settings.password.fields.account.label'}}</label>
    <div class="wy-control">
      {{session.user.email}}
    </div>
  </div>

  {{#if errors}}
    <div class="wy-alert wy-alert-warning">
      <div class="wy-alert-title">{{t 'wh.settings.password.error.fix'}}</div>
      <ul>{{#each errors}}<li>{{this}}</li>{{/each}}</ul>
    </div>
  {{/if}}

  {{#if success}}
    <div class="wy-alert wy-alert-success">
      {{success.message}}
    </div>
  {{/if}}

  <div class="wy-control-group wy-control-group-required">
    <label>{{t 'wh.settings.password.fields.oldPassword.label'}}</label>
    <div class="wy-control">
      {{input type="password" value=oldPassword disabled=isLoading}}
    </div>
  </div>
  <div class="wy-control-group wy-control-group-required">
    <label>{{t 'wh.settings.password.fields.newPassword.label'}}</label>
    <div class="wy-control">
      {{input type="password" value=newPassword disabled=isLoading}}
    </div>
  </div>
  <div {{bind-attr class=":wy-control-group passwordMatches::wy-control-group-error"}}>
    <label>{{t 'wh.settings.password.fields.newPassword2.label'}}</label>
    <div class="wy-control">
      {{input type="password" value=<PASSWORD> disabled=isLoading}}
      {{#unless passwordMatches}}<span class="wy-form-message">{{t 'wh.settings.password.error.match'}}</span>{{/unless}}
    </div>
  </div>
  <div class="wy-btn-group">
    <button class="btn btn-neutral icon icon-ok-sign" {{bind-attr disabled="isLoading"}}> {{t 'wh.settings.password.action'}}</button>
  </div>

</section>

</form>


<div class="wy-control-group">
  <label>{{t 'wh.settings.general.account.language'}}</label>
  <div class="wy-control">
    {{#each supportedLanguages}}
      <a {{action "chooseLanguage" code}}>{{language}}</a>
    {{/each}}
  </div>
</div><commit_msg>remove duplicate, make sure form is specific<commit_after><section class="wh-content-head">
  <h1>{{t 'wh.settings.general.account.title'}}</h1>
</section>

<section class="wh-content-edit">
  <div class="wy-control-group">
    <label>{{t 'wh.settings.general.account.language'}}</label>
    <div class="wy-control">
      {{#each supportedLanguages}}
        <a {{action "chooseLanguage" code}}>{{language}}</a>
      {{/each}}
    </div>
  </div>
</section>

<form class="wy-form-stacked" {{action "changePassword" on="submit"}}>

<section class="wh-content-head wh-content-head-again">
  <h1>{{t 'wh.settings.password.title'}}</h1>
</section>

<section class="wh-content-edit">
  <div class="wy-control-group">
    <label>{{t 'wh.settings.password.fields.account.label'}}</label>
    <div class="wy-control">
      {{session.user.email}}
    </div>
  </div>

  {{#if errors}}
    <div class="wy-alert wy-alert-warning">
      <div class="wy-alert-title">{{t 'wh.settings.password.error.fix'}}</div>
      <ul>{{#each errors}}<li>{{this}}</li>{{/each}}</ul>
    </div>
  {{/if}}

  {{#if success}}
    <div class="wy-alert wy-alert-success">
      {{success.message}}
    </div>
  {{/if}}

  <div class="wy-control-group wy-control-group-required">
    <label>{{t 'wh.settings.password.fields.oldPassword.label'}}</label>
    <div class="wy-control">
      {{input type="password" value=oldPassword disabled=isLoading}}
    </div>
  </div>
  <div class="wy-control-group wy-control-group-required">
    <label>{{t 'wh.settings.password.fields.newPassword.label'}}</label>
    <div class="wy-control">
      {{input type="password" value=newPassword disabled=isLoading}}
    </div>
  </div>
  <div {{bind-attr class=":wy-control-group passwordMatches::wy-control-group-error"}}>
    <label>{{t 'wh.settings.password.fields.newPassword2.label'}}</label>
    <div class="wy-control">
      {{input type="password" value=<PASSWORD> disabled=isLoading}}
      {{#unless passwordMatches}}<span class="wy-form-message">{{t 'wh.settings.password.error.match'}}</span>{{/unless}}
    </div>
  </div>
  <div class="wy-btn-group">
    <button class="btn btn-neutral icon icon-ok-sign" {{bind-attr disabled="isLoading"}}> {{t 'wh.settings.password.action'}}</button>
  </div>

</section>

</form>
{'fraction_non_alphanumeric': 0.2231974921630094, 'fraction_numerical': 0.0020898641588296763, 'mean_word_length': 4.006276150627615, 'pattern_counts': {'":': 2, '<': 137, '<?xml version=': 0, '>': 137, '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': '2226030', 'n_tokens_mistral': 1692, 'n_tokens_neox': 1621, 'n_words': 266}