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

<PageHeader as |p|>
  <p.top>
    <Hds::Breadcrumb>
      <Hds::Breadcrumb::Item
        @text="Details"
        @route="vault.cluster.access.oidc.assignments.assignment.details"
        @model={{this.model.name}}
      />
      <Hds::Breadcrumb::Item @text="Edit Assignment" @current={{true}} />
    </Hds::Breadcrumb>
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3" data-test-oidc-assignment-title>
      Edit Assignment
    </h1>
  </p.levelLeft>
</PageHeader>
<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}}
/>