<commit_before><div class="row mt-10">
  {{#if add}}
    <h3>{{t 'addHostTemplate.add.header'}}</h3>
    {{#each-in newSelectedKey as |key value|}}
      {{#if (eq key 'name')}}
        <div class="col span-6">
          <label for="">{{key}}</label>
          {{input type='text' value=name}}
        </div>
      {{/if}}
      {{#if (eq key 'publicValues')}}
        {{#each-in (get selectedKey key) as |pKey pValue|}}
          <div class="col span-6 pt-5">
            <label for="">{{pKey}}</label>
            {{input type='text' value=publicValue}}
          </div>
        {{/each-in}}
      {{/if}}
      {{#if (eq key 'secretValues')}}
        <div class="col span-6">
          {{#each-in (get selectedKey key) as |sKey sValue|}}
            <div class="col span-12">
              <label for="">{{sKey}}</label>
              {{input type='password' value=secretValue}}
            </div>
          {{/each-in}}
          <div class="col span-12">
            <a class="pull-right" href="#" {{action 'cancelAdd'}}>{{t 'generic.cancel'}}</a>
          </div>
        </div>
      {{/if}}
    {{/each-in}}
  {{else}}
    <div class="col span-6">
      <div class="col-inline clearfix">
        <label for="">{{t 'addHostTemplate.choose.label'}}</label>
        {{!-- <div class="pull-right text-small">
          <a class="btn bg-transparent p-0" role="button" {{action "addKey"}}>{{t 'addHostTemplate.choose.add'}}</a>
        </div> --}}
      </div>
      {{new-select
          classNames="form-control"<commit_msg>Add back in Add Key button<commit_after><div class="row mt-10">
  {{#if add}}
    <h3>{{t 'addHostTemplate.add.header'}}</h3>
    {{#each-in newSelectedKey as |key value|}}
      {{#if (eq key 'name')}}
        <div class="col span-6">
          <label for="">{{key}}</label>
          {{input type='text' value=name}}
        </div>
      {{/if}}
      {{#if (eq key 'publicValues')}}
        {{#each-in (get selectedKey key) as |pKey pValue|}}
          <div class="col span-6" style="padding-top: 7px;">
            <label for="">{{pKey}}</label>
            {{input type='text' value=publicValue}}
          </div>
        {{/each-in}}
      {{/if}}
      {{#if (eq key 'secretValues')}}
        <div class="col span-6">
          {{#each-in (get selectedKey key) as |sKey sValue|}}
            <div class="col span-12">
              <label for="">{{sKey}}</label>
              {{input type='password' value=secretValue}}
            </div>
          {{/each-in}}
          <div class="col span-12">
            <a class="pull-right" href="#" {{action 'cancelAdd'}}>{{t 'generic.cancel'}}</a>
          </div>
        </div>
      {{/if}}
    {{/each-in}}
  {{else}}
    <div class="col span-6">
      <div class="col-inline clearfix">
        <label for="">{{t 'addHostTemplate.choose.label'}}</label>
        <div class="pull-right text-small">
          <a class="btn bg-transparent p-0" role="button" {{action "addKey"}}>{{t 'addHostTemplate.choose.add'}}</a>
        </div>
      </div>
      {{new-select
          classNames="form-control"
{'fraction_non_alphanumeric': 0.21616358325219084, 'fraction_numerical': 0.009087958455047063, 'mean_word_length': 2.085085085085085, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '1779939', 'n_tokens_mistral': 1042, 'n_tokens_neox': 1001, 'n_words': 227}