<PageHeader as |p|>
  <p.top>
    <nav class="breadcrumb" aria-label="breadcrumbs">
      <ul>
        <li>
          <span class="sep">&#x0002f;</span>
          <LinkTo @route="vault.cluster.access.identity.aliases">
            {{pluralize (humanize this.model.identityType)}}
          </LinkTo>
        </li>
      </ul>
    </nav>
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3">
      {{this.model.name}}
    </h1>
  </p.levelLeft>
</PageHeader>
<div class="tabs-container box is-sideless is-fullwidth is-paddingless is-marginless">
  <nav class="tabs sub-nav" aria-label="tabs">
    <ul>
      {{#each (tabs-for-identity-show this.model.identityType) as |tab|}}
        <LinkTo @route="vault.cluster.access.identity.aliases.show" @models={{array this.model.id tab}}>
          {{capitalize tab}}
        </LinkTo>
      {{/each}}
    </ul>
  </nav>
</div>
<Toolbar>
  <ToolbarActions>
    <ToolbarLink @route="vault.cluster.access.identity.aliases.edit" @model={{this.model.id}} data-test-alias-edit-link>
      Edit
      {{lowercase (humanize this.model.identityType)}}
    </ToolbarLink>
  </ToolbarActions>
</Toolbar>
{{component (concat "identity/item-alias/alias-" this.section) model=this.model}}