mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 07:01:09 +02:00
25 lines
836 B
Handlebars
25 lines
836 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
<form onsubmit={{action "createOrUpdate" "create"}}>
|
|
<div class="box is-sideless is-fullwidth is-marginless">
|
|
<MessageError @model={{this.model}} />
|
|
<NamespaceReminder @mode={{this.mode}} @noun="transformation" />
|
|
{{#each this.model.transformFieldAttrs as |attr|}}
|
|
<FormField data-test-field @attr={{attr}} @model={{this.model}} />
|
|
{{/each}}
|
|
</div>
|
|
<div class="field is-grouped-split box is-fullwidth is-bottomless">
|
|
<Hds::ButtonSet>
|
|
<Hds::Button @text="Create transformation" type="submit" data-test-submit />
|
|
<Hds::Button
|
|
@text="Cancel"
|
|
@color="secondary"
|
|
@route="vault.cluster.secrets.backend.list-root"
|
|
@model={{this.model.backend}}
|
|
/>
|
|
</Hds::ButtonSet>
|
|
</div>
|
|
</form> |