{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

<PageHeader as |p|>
  <p.top>
    <Hds::Breadcrumb>
      <Hds::Breadcrumb::Item @text="Assignments" @route="vault.cluster.access.oidc.assignments" />
      <Hds::Breadcrumb::Item @text="Create Assignment" @current={{true}} />
    </Hds::Breadcrumb>
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3" data-test-oidc-assignment-title>
      Create Assignment
    </h1>
  </p.levelLeft>
</PageHeader>
<Oidc::AssignmentForm
  @model={{this.model}}
  @onCancel={{transition-to "vault.cluster.access.oidc.assignments"}}
  @onSave={{transition-to "vault.cluster.access.oidc.assignments.assignment.details" this.model.name}}
/>