diff --git a/ui/admin/app/components/form/role/add-principals/index.hbs b/ui/admin/app/components/form/role/add-principals/index.hbs index fafd23dc4..c58d7b256 100644 --- a/ui/admin/app/components/form/role/add-principals/index.hbs +++ b/ui/admin/app/components/form/role/add-principals/index.hbs @@ -3,7 +3,6 @@ SPDX-License-Identifier: MPL-2.0 }} -{{! template-lint-disable no-whitespace-for-layout }} {{#if this.hasAvailablePrincipals}} - - - - {{t 'form.name.label'}} - {{t 'form.id.label'}} - {{t 'form.type.label'}} - {{t 'resources.scope.title'}} - {{t 'form.description.label'}} - - - - {{#each this.filteredPrincipals as |principal|}} - - - - {{#if principal.accountName}} - {{! - The following is a formatting hack since we don't have a great - way to manage micro-whitespace or alignment among separate - components without resorting to heavy-handed grids - or contextualization. This is a one-off. - }} -        - - {{/if}} - - {{principal.id}} - - - - - - - {{principal.description}} - - {{/each}} - - + + <:body as |B|> + + + + {{B.data.displayName}} + {{#if B.data.accountName}} + + + + {{/if}} + + + {{B.data.id}} + + + {{B.data.description}} + + + {{/if}}