open-vault/ui/app/templates/components/transit-edit.hbs

25 lines
533 B
Handlebars
Raw Normal View History

<PageHeader as |p|>
<p.top>
{{key-value-header
baseKey=key
path="vault.cluster.secrets.backend.list"
mode=mode
root=root
showCurrent=true
}}
</p.top>
<p.levelLeft>
<h1 class="title is-3">
{{#if (eq mode "create") }}
2019-03-29 23:40:12 +00:00
Create encryption key
{{else if (eq mode "edit") }}
2019-03-29 23:40:12 +00:00
Edit encryption key
{{else}}
2019-03-29 23:40:12 +00:00
Encryption key <code>{{key.id}}</code>
{{/if}}
</h1>
</p.levelLeft>
</PageHeader>
2018-04-03 14:16:57 +00:00
{{partial (concat 'partials/transit-form-' mode)}}