{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 }} {{yield}} Apply an existing policy {{#yield-slot name='trigger'}} {{yield}} {{else}} {{!TODO: potentially call trigger something else}} {{!the modal has to go here so that if you provide a slot to trigger it doesn't get rendered}}

New Policy

{{/yield-slot}}
{{option.Name}} Name {{#if item.ID }} {{item.Name}} {{else}} {{item.Name}} {{/if}} {{#if (eq item.template '')}} {{/if}} {{#if (eq item.template 'node-identity')}}
Datacenter:
{{item.Datacenter}}
{{else}}
Datacenters:
{{join ', ' (policy/datacenters (or loadedItem item))}}
{{/if}} {{#if (not disabled)}}

{{message}}

{{/if}}