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

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