mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-19 21:51:09 +02:00
* chane form field to angle bracket syntax * computes tuneAttrs depending on auth method type * make all attrs linkable * delete token_type for token auth methods before save * adds changelog * adds copy to unsupported auth methods * adds doc link to copy * adds test for linkable auth method list
20 lines
670 B
Handlebars
20 lines
670 B
Handlebars
<form {{action (perform saveModel) on="submit"}}>
|
|
<div class="box is-sideless is-fullwidth is-marginless">
|
|
<MessageError @model={{model}} @errorMessage={{model.errorMessage}}/>
|
|
<NamespaceReminder @mode="save" @noun="Auth Method" />
|
|
{{#each model.tuneAttrs as |attr|}}
|
|
<FormField data-test-field @attr={{attr}} @model={{model}} />
|
|
{{/each}}
|
|
</div>
|
|
<div class="field is-grouped box is-fullwidth is-bottomless">
|
|
<button
|
|
type="submit"
|
|
data-test-save-config="true"
|
|
class="button is-primary {{if saveModel.isRunning "loading"}}"
|
|
disabled={{saveModel.isRunning}}
|
|
>
|
|
Update Options
|
|
</button>
|
|
</div>
|
|
</form>
|