{{#child-selector repo=repo dc=dc type="policy" placeholder="Search for policy" items=items}} {{yield}} {{#block-slot 'label'}} Apply an existing policy {{/block-slot}} {{#block-slot 'create'}} {{#yield-slot '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 name="new-policy-toggle"}} {{#block-slot 'header'}}
{{message}}
{{/block-slot}} {{/confirmation-dialog}}