open-nomad/ui/app/templates/variables/variable/edit.hbs
Phil Renaud 311d9d1cda variable index header and deletion hook (#13302)
* variable index header and deletion hook

* Some visual improvements to edit header and back button

* Mirage fixtures for variables

* Deletion flow test

* Account for disabled state of add-more button

* Transition destination changes after design chat

* Simplified parent folder path by adding to variable model

* Lint cleanup

* test update to reflect path redirect on delete

* No longer have to re-traverse to a deleted var folder after deletion, tests updated
2022-07-11 13:34:05 -04:00

16 lines
326 B
Handlebars

{{page-title "Edit Secure Variable"}}
<h1 class="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}}
</h1>
<SecureVariableForm @model={{this.model}} />