<commit_before><div
  class="login-form"
  data-test-login-form
  ...attributes
>
  {{#let (unique-id) as |templateId|}}
    {{#if @noAccountExistsError}}
      <div class="error" data-test-error>
        {{t "general.noAccountExists" accountName=@noAccountExistsAccount}}
      </div>
    {{else}}
      <h2 data-test-title>
        {{t "general.login"}}
      </h2>
      {{#each this.error.keys as |key|}}
        <div class="error" data-test-error>
          {{t key}}
        </div>
      {{/each}}
      <form data-test-form>
        <div class="item" data-test-username>
          <label for="username-{{templateId}}">
            {{t "general.username"}}:
          </label>
          <input
            autocapitalize="off"
            autocorrect="off"
            autocomplete="username"
            id="username-{{templateId}}"
            type="text"
            disabled={{if this.authenticate.isRunning "disabled"}}
            value={{this.username}}
            {{on "input" (pick "target.value" (set this.username))}}
            {{on "keyup" this.submitOnEnter}}
          >
          <ValidationError @errors={{get-errors-for this.username}} />
        </div>
        <div class="item" data-test-password>
          <label for="password-{{templateId}}">
            {{t "general.password"}}:
          </label>
          <input
            id="password-{{templateId}}"
            type="password"
            autocomplete="current-password"
            disabled={{if this.authenticate.isRunning "disabled"}}
            value={{this.password}}
            {{on "input" (pick "target.value" (set this.password))}}
            {{on "keyup" this.submitOnEnter}}
          >
          <ValidationError @errors={{get-errors-for this.password}} />
        </div>
        <div class="buttons"><commit_msg>adds autofocus back and make an exception for it.<commit_after><div
  class="login-form"
  data-test-login-form
  ...attributes
>
  {{#let (unique-id) as |templateId|}}
    {{#if @noAccountExistsError}}
      <div class="error" data-test-error>
        {{t "general.noAccountExists" accountName=@noAccountExistsAccount}}
      </div>
    {{else}}
      <h2 data-test-title>
        {{t "general.login"}}
      </h2>
      {{#each this.error.keys as |key|}}
        <div class="error" data-test-error>
          {{t key}}
        </div>
      {{/each}}
      <form data-test-form>
        <div class="item" data-test-username>
          <label for="username-{{templateId}}">
            {{t "general.username"}}:
          </label>
          {{! template-lint-disable no-autofocus-attribute }}
          <input
            autocapitalize="off"
            autocorrect="off"
            autofocus=""
            autocomplete="username"
            id="username-{{templateId}}"
            type="text"
            disabled={{if this.authenticate.isRunning "disabled"}}
            value={{this.username}}
            {{on "input" (pick "target.value" (set this.username))}}
            {{on "keyup" this.submitOnEnter}}
          >
          <ValidationError @errors={{get-errors-for this.username}} />
        </div>
        <div class="item" data-test-password>
          <label for="password-{{templateId}}">
            {{t "general.password"}}:
          </label>
          <input
            id="password-{{templateId}}"
            type="password"
            autocomplete="current-password"
            disabled={{if this.authenticate.isRunning "disabled"}}
            value={{this.password}}
            {{on "input" (pick "target.value" (set this.password))}}
            {{on "keyup" this.submitOnEnter}}
          >
          <ValidationError @errors={{get-errors-for this.password}} />
        </div>
        <div class="buttons">
{'fraction_non_alphanumeric': 0.1641393987762703, 'fraction_numerical': 0.0010641127959563714, 'mean_word_length': 1.9490196078431372, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '7194236', 'n_tokens_mistral': 1096, 'n_tokens_neox': 1099, 'n_words': 206}