open-vault/ui/app/templates/components/auth-config-form/options.hbs

19 lines
660 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
<form {{action (perform saveModel) on="submit"}}>
<div class="box is-sideless is-fullwidth is-marginless">
<MessageError @model={{model}} @errorMessage={{model.errorMessage}}/>
2019-03-29 23:40:12 +00:00
<NamespaceReminder @mode="save" @noun="Auth Method" />
2018-04-03 14:16:57 +00:00
{{#each model.tuneAttrs as |attr|}}
{{form-field data-test-field attr=attr model=model}}
{{/each}}
</div>
<div class="field is-grouped box is-fullwidth is-bottomless">
2019-02-14 18:52:34 +00:00
<button
type="submit"
data-test-save-config="true"
class="button is-primary {{if saveModel.isRunning "loading"}}"
disabled={{saveModel.isRunning}}
>
2018-04-03 14:16:57 +00:00
Update Options
</button>
</div>
2019-02-14 18:52:34 +00:00
</form>