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

<Page::Header @title="Edit Assignment">
  <:breadcrumbs>
    <Page::Breadcrumbs
      @breadcrumbs={{array
        (hash label="Vault" route="vault.cluster.dashboard" icon="vault")
        (hash label="Details" route="vault.cluster.access.oidc.assignments.assignment.details" model=this.model.name)
        (hash label="Edit Assignment")
      }}
    />
  </:breadcrumbs>
</Page::Header>

<Oidc::AssignmentForm
  @model={{this.model}}
  @onCancel={{transition-to "vault.cluster.access.oidc.assignments.assignment.details" this.model.name}}
  @onSave={{transition-to "vault.cluster.access.oidc.assignments.assignment.details" this.model.name}}
/>