github.com/hernad/nomad@v1.6.112/ui/app/components/variable-form/job-template-editor.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  {{did-insert this.establishKeyValues}}
     7  <div>
     8    <label>
     9      <span>
    10        Description
    11      </span>
    12      <Input
    13        @type="text"
    14        @value={{this.description}}
    15        {{on "input" this.updateDescription}}
    16        class="input value-input"
    17        data-test-template-description
    18      />
    19    </label>
    20  </div>
    21  <div>
    22    <label>
    23      <span>
    24        Job Template
    25      </span>
    26      <div
    27        data-test-template-json
    28        {{code-mirror
    29          theme="hashi"
    30          mode="ruby"
    31          autofocus=false
    32          content=this.template
    33          onUpdate=(action this.updateTemplate)
    34        }}
    35      ></div>
    36    </label>
    37  </div>