<PageHeader as |p|>
  <p.top>
    <Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3">
      <Icon @name="pki" @size="24" class="has-text-grey-light" />
      Configure automatic tidy
    </h1>
  </p.levelLeft>
</PageHeader>

<PkiTidyForm
  @tidy={{@model}}
  @tidyType="auto"
  @onSave={{transition-to "vault.cluster.secrets.backend.pki.tidy.auto"}}
  @onCancel={{transition-to (concat "vault.cluster.secrets.backend.pki.tidy" (if @model.enabled ".auto" ""))}}
/>