{{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}} {{#modal-dialog data-test-policy-form onopen=(action 'open') name="new-policy-toggle"}}

New Policy

{{/modal-dialog}} {{/yield-slot}}
{{option.Name}} {{#tabular-details data-test-policies onchange=(action 'loadItem') items=(sort-by 'CreateTime:desc' 'Name:asc' items) as |item index| }} Name Datacenters {{#if item.ID }} {{item.Name}} {{else}} {{item.Name}} {{/if}} {{if (not item.isSaving) (join ', ' (policy/datacenters item)) 'Saving...'}}

{{message}}

{{/tabular-details}}