{{#if (not (token/is-legacy item))}} {{partial 'dc/acls/tokens/fieldsets'}} {{else}} {{partial 'dc/acls/tokens/fieldsets-legacy'}} {{/if}} {{!TODO: Make this into a slotted component}}
{{#if create }} {{! new tokens can be saved without you filling anything in, old tokens remain using isPristine }} {{ else }} {{/if}} {{# if (and (not create) (not (token/is-anonymous item)) (not-eq item.AccessorID token.AccessorID) ) }} {{#confirmation-dialog message='Are you sure you want to delete this Token?'}} {{#block-slot 'action' as |confirm|}} {{/block-slot}} {{#block-slot 'dialog' as |execute cancel message|}} {{delete-confirmation message=message execute=execute cancel=cancel}} {{/block-slot}} {{/confirmation-dialog}} {{/if}}