<commit_before><fieldset>
  <legend align="center">{{ t "select_stock" }}</legend>
    <table class="stock-levels" data-hook="stock-levels">
      <colgroup>
        <col style="width: 30%;" />
        <col style="width: 40%;" />
        <col style="width: 20%;" />
        <col style="width: 10%;" />
      </colgroup>
      <thead>
        <th>{{ t "location" }}</th>
        <th>{{ t "count_on_hand" }}</th>
        <th>{{ t "quantity" }}</th>
        <th class="actions"></th>
      </thead>
      <tbody>
        {{#each variant.stock_items}}
          <tr>
            <td>{{this.stock_location_name}}</td>
            {{#unless ../variant.track_inventory}}
              <td>
                It doesn't track inventory
              </td>
              <td>
                <input class="quantity" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
              </td>
              <td class="actions">
                <button class="add_variant no-text fa fa-plus icon_link with-tip" data-stock-location-id="{{this.stock_location_id}}" title="{{ t "add" }}" data-action="add"></button>
              </td>
            {{else}}
              {{#if this.available}}
                <td>
                  {{this.count_on_hand}}
                  {{#if this.backorderable}} ({{ t "backorders_allowed" }}) {{/if}}
                </td>
                <td>
                  <input class="quantity" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
                </td>
                <td class="actions">
                  <button class="add_variant no-text fa fa-plus icon_link with-tip" data-stock-location-id="{{this.stock_location_id}}" title="{{ t "add" }}" data-action="add"></button>
                </td>
              {{else}}
              <td>{{ t "out_of_stock" }}</td>
                <td>0</td>
              {{/if}}
            {{/unless}}
          </tr>
        {{/each}}
      </tbody>
    </table>
</fieldset><commit_msg>Clean up html in autocomplete stock template<commit_after><fieldset class="no-border-bottom">
  <legend align="center">{{ t "select_stock" }}</legend>
    <table class="stock-levels" data-hook="stock-levels">
      <colgroup>
        <col style="width: 30%;" />
        <col style="width: 40%;" />
        <col style="width: 20%;" />
        <col style="width: 10%;" />
      </colgroup>
      <thead>
        <th>{{ t "location" }}</th>
        <th>{{ t "count_on_hand" }}</th>
        <th>{{ t "quantity" }}</th>
        <th class="actions"></th>
      </thead>
      <tbody>
        {{#each variant.stock_items}}
          <tr class="vertical-middle">
            <td>{{this.stock_location_name}}</td>
            {{#unless ../variant.track_inventory}}
              <td>
                It doesn't track inventory
              </td>
              <td>
                <input class="quantity" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
              </td>
              <td class="actions">
                <button class="add_variant no-text fa fa-plus icon_link with-tip" data-stock-location-id="{{this.stock_location_id}}" title="{{ t "add" }}" data-action="add"></button>
              </td>
            {{else}}
              {{#if this.available}}
                <td>
                  {{this.count_on_hand}}
                  {{#if this.backorderable}} ({{ t "backorders_allowed" }}) {{/if}}
                </td>
                <td>
                  <input class="quantity" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
                </td>
                <td class="actions">
                  <button class="add_variant no-text fa fa-plus icon_link with-tip" data-stock-location-id="{{this.stock_location_id}}" title="{{ t "add" }}" data-action="add"></button>
                </td>
              {{else}}
                <td>{{ t "out_of_stock" }}</td>
                <td>0</td>
                <td></td>
              {{/if}}
            {{/unless}}
          </tr>
        {{/each}}
      </tbody>
    </table>
</fieldset>
{'fraction_non_alphanumeric': 0.18717586044318718, 'fraction_numerical': 0.006129184347006129, 'mean_word_length': 1.7233632862644417, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '6545207', 'n_tokens_mistral': 1345, 'n_tokens_neox': 1255, 'n_words': 256}