<commit_before>{{#if (and (eq step 2) (eq originalCluster.state "pending"))}}
  <div class="mt-20">
    {{t 'clusterNew.import.command.instructions'
      appName=settings.appName
      docsBase=settings.docsBase
      htmlSafe=true
    }}
  </div>

  <div class="copy-pre mt-20 mb-20">
    {{#if loading}}
      <div class="text-center"><i class="icon icon-spinner icon-spin"></i> {{t 'generic.loading'}}</div>
    {{else}}
      {{copy-to-clipboard clipboardText=token.command tagName="div" classNames="copy-to-pre"}}
      <pre id="registration-command" style="font-size: 14px;">{{token.command}}</pre>
    {{/if}}
  </div>

  <div class="mt-20">
    {{t 'clusterNew.import.command.instructionsInsecure'
      appName=settings.appName
      docsBase=settings.docsBase
      htmlSafe=true
    }}
  </div>

  <div class="copy-pre mt-20 mb-20">
    {{#if loading}}
      <div class="text-center"><i class="icon icon-spinner icon-spin"></i> {{t 'generic.loading'}}</div>
    {{else}}
      {{copy-to-clipboard clipboardText=token.insecureCommand tagName="div" classNames="copy-to-pre"}}
      <pre id="registration-command" style="font-size: 14px;">{{token.insecureCommand}}</pre>
    {{/if}}
  </div>

  {{#if isEdit}}
    {{top-errors errors=otherErrors}}
    {{top-errors errors=clusterErrors}}
    {{save-cancel save="driverSave" editing=true cancel="close"}}
  {{else}}
    <div class="footer-actions">
      <button {{action "close"}} class="btn bg-primary">{{t 'clusterNew.rke.done'}}</button>
    </div>
  {{/if}}
{{else}}
  {{top-errors errors=otherErrors}}
  {{top-errors errors=clusterErrors}}
  {{save-cancel save="driverSave" editing=isEdit cancel="close"}}
{{/if}}<commit_msg>Show proper error message if import cluster name containers dots.<commit_after>{{#if (and (eq step 2) (eq originalCluster.state "pending"))}}
  <div class="mt-20">
    {{t 'clusterNew.import.command.instructions'
      appName=settings.appName
      docsBase=settings.docsBase
      htmlSafe=true
    }}
  </div>

  <div class="copy-pre mt-20 mb-20">
    {{#if loading}}
      <div class="text-center"><i class="icon icon-spinner icon-spin"></i> {{t 'generic.loading'}}</div>
    {{else}}
      {{copy-to-clipboard clipboardText=token.command tagName="div" classNames="copy-to-pre"}}
      <pre id="registration-command" style="font-size: 14px;">{{token.command}}</pre>
    {{/if}}
  </div>

  <div class="mt-20">
    {{t 'clusterNew.import.command.instructionsInsecure'
      appName=settings.appName
      docsBase=settings.docsBase
      htmlSafe=true
    }}
  </div>

  <div class="copy-pre mt-20 mb-20">
    {{#if loading}}
      <div class="text-center"><i class="icon icon-spinner icon-spin"></i> {{t 'generic.loading'}}</div>
    {{else}}
      {{copy-to-clipboard clipboardText=token.insecureCommand tagName="div" classNames="copy-to-pre"}}
      <pre id="registration-command" style="font-size: 14px;">{{token.insecureCommand}}</pre>
    {{/if}}
  </div>

  {{#if isEdit}}
    {{top-errors errors=otherErrors}}
    {{top-errors errors=clusterErrors}}
    {{save-cancel save="driverSave" editing=true cancel="close"}}
  {{else}}
    <div class="footer-actions">
      <button {{action "close"}} class="btn bg-primary">{{t 'clusterNew.rke.done'}}</button>
    </div>
  {{/if}}
{{else}}
  {{top-errors errors=errors}}
  {{top-errors errors=otherErrors}}
  {{top-errors errors=clusterErrors}}
  {{save-cancel save="driverSave" editing=isEdit cancel="close"}}
{{/if}}
{'fraction_non_alphanumeric': 0.19849754406240971, 'fraction_numerical': 0.009823750361167293, 'mean_word_length': 3.9316239316239314, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '6001006', 'n_tokens_mistral': 1203, 'n_tokens_neox': 1147, 'n_words': 216}