<commit_before><section class="header clearfix">
  {{#if isView}}
    <div class="right-buttons pull-right">
      {{badge-state model=model}}
      {{action-menu model=model showPrimary=false classNames="ml-10 inline-block" size="sm"}}
    </div>
  {{/if}}

  <h1>{{title}}</h1>
</section>

{{#if isView}}
  {{#if model.description}}
    {{banner-message color='bg-secondary mb-0 mt-10' message=(linkify model.description)}}
  {{/if}}
{{else}}
  {{form-name-description
    nameDisabled=isEdit
    model=primaryResource
    nameRequired=(not isEdit)
    namePlaceholder="newSecret.name.placeholder"
    descriptionPlaceholder="newSecret.description.placeholder"
  }}
{{/if}}

{{optionally-namespaced isClone=isClone namespaceErrors=namespaceErrors scope=scope mode=mode namespace=namespace model=model}}

<div class="box mt-10">
  <label class="acc-label">{{t 'newSecret.values.label'}}</label>
  {{form-key-value
    allowEmptyValue=true
    initialMap=primaryResource.data
    addActionLabel="newSecret.addActionLabel"
    addInitialEmptyRow=true
    base64Value=true
    concealValue=true
    editing=notView
    changed=(action "updateData")
  }}
</div>
<commit_msg>Allow secrets to be cloned into different namespaces<commit_after><section class="header clearfix">
  {{#if isView}}
    <div class="right-buttons pull-right">
      {{badge-state model=model}}
      {{action-menu model=model showPrimary=false classNames="ml-10 inline-block" size="sm"}}
    </div>
  {{/if}}

  <h1>{{title}}</h1>
</section>

{{#if isView}}
  {{#if model.description}}
    {{banner-message color='bg-secondary mb-0 mt-10' message=(linkify model.description)}}
  {{/if}}
{{else}}
  {{form-name-description
    nameDisabled=isEdit
    model=primaryResource
    nameRequired=(not isEdit)
    namePlaceholder="newSecret.name.placeholder"
    descriptionPlaceholder="newSecret.description.placeholder"
  }}
{{/if}}

{{optionally-namespaced namespaceErrors=namespaceErrors scope=scope mode=mode namespace=namespace model=model}}

<div class="box mt-10">
  <label class="acc-label">{{t 'newSecret.values.label'}}</label>
  {{form-key-value
    allowEmptyValue=true
    initialMap=primaryResource.data
    addActionLabel="newSecret.addActionLabel"
    addInitialEmptyRow=true
    base64Value=true
    concealValue=true
    editing=notView
    changed=(action "updateData")
  }}
</div>

{'fraction_non_alphanumeric': 0.15264270613107822, 'fraction_numerical': 0.009302325581395349, 'mean_word_length': 4.784841075794621, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3816532', 'n_tokens_mistral': 755, 'n_tokens_neox': 741, 'n_words': 134}