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

14 lines
531 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">
{{message-error model=model}}
{{#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">
<button type="submit" data-test-save-config=true class="button is-primary {{if saveModel.isRunning 'loading'}}" disabled={{saveModel.isRunning}}>
Update Options
</button>
</div>
</form>