9749d7d9c6
* manually trigger error handler * add a catch * remove uneeded return
19 lines
660 B
Handlebars
19 lines
660 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|}}
|
|
{{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> |