{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

<form {{on "submit" (perform this.saveModel)}}>
  <div class="box is-sideless is-fullwidth is-marginless">
    <NamespaceReminder @mode="save" @noun="Auth Method" />
    <MessageError @model={{@form}} @errorMessage={{this.errorMessage}} />
    <FormFieldGroups @model={{@form}} @groupName="formFieldGroups" />
  </div>

  <div class="field is-grouped box is-fullwidth is-bottomless">
    <Hds::Button
      @text="Save"
      @icon={{if this.saveModel.isRunning "loading"}}
      type="submit"
      disabled={{this.saveModel.isRunning}}
      data-test-submit
    />
  </div>
</form>