<commit_before><div class="header">
  {{t 'Add tax information'}}
</div>
<div class="y-scrollable scrollable-modal content">
  <form class="ui form" autocomplete="off" {{action 'updateTaxInfo' on='submit' preventDefault=true}}>
    <div class="field">
      <label class="required">{{t 'Choose country'}}</label>
      {{#ui-dropdown class='search selection' selected=tax.country forceSelection=false fullTextSearch=true}}
        {{input type='hidden' id='tax_country' value=tax.country}}
        <i class="dropdown icon"></i>
        <div class="default text">{{t 'Select country'}}</div>
        <div class="menu">
          {{#each countries as |country|}}
            <div class="item" data-value="{{country.name}}">
              <i class="{{lowercase country.code}} flag"></i>
              {{country.name}}
            </div>
          {{/each}}
        </div>
      {{/ui-dropdown}}
    </div>
    <div class="field">
      <label class="required">{{t 'Tax name'}}</label>
      {{input type='text' id='tax_name' value=tax.name}}
    </div>
    <div class="field">
      <label class="required">{{t 'Tax rate'}}</label>
      {{input type='number' id='tax_rate' value=tax.rate}}
    </div>
    <div class="field">
      <label class="required">{{t 'Tax ID'}}</label>
      {{input type='text' id='tax_id' value=tax.taxId}}
    </div>
    <div class="field">
      <label>{{t 'Tax Invoices'}}</label>
      <div class="ui checkbox">
        {{input type='checkbox' id='send_tax_invoices' name='send_tax_invoices' checked=tax.shouldSendInvoice}}
        <label for="send_tax_invoices"><commit_msg>Limit tax rate value from 0 to 100 (#2741)<commit_after><div class="header">
  {{t 'Add tax information'}}
</div>
<div class="y-scrollable scrollable-modal content">
  <form class="ui form" autocomplete="off" {{action 'updateTaxInfo' on='submit' preventDefault=true}}>
    <div class="field">
      <label class="required">{{t 'Choose country'}}</label>
      {{#ui-dropdown class='search selection' selected=tax.country forceSelection=false fullTextSearch=true}}
        {{input type='hidden' id='tax_country' value=tax.country}}
        <i class="dropdown icon"></i>
        <div class="default text">{{t 'Select country'}}</div>
        <div class="menu">
          {{#each countries as |country|}}
            <div class="item" data-value="{{country.name}}">
              <i class="{{lowercase country.code}} flag"></i>
              {{country.name}}
            </div>
          {{/each}}
        </div>
      {{/ui-dropdown}}
    </div>
    <div class="field">
      <label class="required">{{t 'Tax name'}}</label>
      {{input type='text' id='tax_name' value=tax.name}}
    </div>
    <div class="field">
      <label class="required">{{t 'Tax rate'}}</label>
      {{input type='number' id='tax_rate' min=0 max=100 value=tax.rate}}
    </div>
    <div class="field">
      <label class="required">{{t 'Tax ID'}}</label>
      {{input type='text' id='tax_id' value=tax.taxId}}
    </div>
    <div class="field">
      <label>{{t 'Tax Invoices'}}</label>
      <div class="ui checkbox">
        {{input type='checkbox' id='send_tax_invoices' name='send_tax_invoices' checked=tax.shouldSendInvoice}}
        <label for="send_tax_invoices">
{'fraction_non_alphanumeric': 0.19532451553368194, 'fraction_numerical': 0.003691171947093202, 'mean_word_length': 3.2845849802371543, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '7243203', 'n_tokens_mistral': 1038, 'n_tokens_neox': 1007, 'n_words': 229}