github.com/hernad/nomad@v1.6.112/ui/app/templates/variables/new.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  {{page-title "New Variable"}}
     7  <Breadcrumb @crumb={{hash label="New" args=(array "variables.new")}} />
     8  
     9  <section class="section">
    10    <h1 class="title variable-title">
    11      Create a Variable
    12      <Toggle
    13        data-test-memory-toggle
    14        @isActive={{eq this.view "json"}}
    15        @onToggle={{action this.toggleView}}
    16        title="JSON"
    17      >JSON</Toggle>
    18    </h1>
    19  
    20    <VariableForm
    21      @model={{this.model}}
    22      @path={{this.path}}
    23      @existingVariables={{this.existingVariables}}
    24      @view={{this.view}}
    25    />
    26  </section>