mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 20:05:42 +03:00
* Remove the newline after .hbs copyright headers * Trying with the whitespace control char
32 lines
626 B
Handlebars
32 lines
626 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
~}}
|
|
|
|
{{page-title "Edit Variable"}}
|
|
|
|
<h1 class="title variable-title">
|
|
<LinkTo class="back-link" @route="variables.variable.index">
|
|
<FlightIcon
|
|
@name="chevron-left"
|
|
@title="Back to {{this.model.path}}"
|
|
@size="24"
|
|
/>
|
|
</LinkTo>
|
|
Edit
|
|
{{this.model.path}}
|
|
<Toggle
|
|
data-test-json-toggle
|
|
@isActive={{eq this.view "json"}}
|
|
@onToggle={{action this.toggleView}}
|
|
title="JSON"
|
|
>JSON</Toggle>
|
|
|
|
</h1>
|
|
|
|
<VariableForm
|
|
@model={{this.model}}
|
|
@existingVariables={{this.existingVariables}}
|
|
@view={{this.view}}
|
|
/>
|