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

<PageHeader as |p|>
  <p.top>
    <Page::Breadcrumbs @breadcrumbs={{this.breadcrumbs}} />
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3" data-test-page-title>
      <Icon @name="certificate" @size="24" class="has-text-grey-light" />
      {{if this.hasSubmitted "View Generated Certificate" "Generate Certificate"}}
    </h1>
  </p.levelLeft>
</PageHeader>

<PkiRoleGenerate @onSuccess={{this.toggleTitle}} @model={{this.model}} />