* fix: 🐛 Show done only when a worker is registered successfully, otherwise show cancel and navigate to the workers list
28 lines
567 B
Handlebars
28 lines
567 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
}}
|
|
|
|
{{page-title (t 'titles.new')}}
|
|
|
|
<Rose::Layout::Page as |page|>
|
|
|
|
<page.breadcrumbs>
|
|
<BreadCrumbs />
|
|
</page.breadcrumbs>
|
|
|
|
<page.header>
|
|
<h2>
|
|
{{t 'resources.worker.title_pki'}}
|
|
<DocLink @doc='worker' @iconSize='large' />
|
|
</h2>
|
|
</page.header>
|
|
<page.body>
|
|
<Form::Worker::CreateWorkerLed
|
|
@model={{@model}}
|
|
@cancel={{route-action 'cancel' @model}}
|
|
@submit={{route-action 'createWorkerLed' @model}}
|
|
/>
|
|
</page.body>
|
|
|
|
</Rose::Layout::Page> |