Role Settings

{{#unless this.settingFields}} {{else}}
{{#each this.settingFields as |attr|}} {{#if (and (eq @mode 'edit') (eq attr.name 'username'))}} {{else}} {{form-field data-test-field attr=attr model=@model}} {{/if}} {{/each}}
{{/unless}}
{{#unless (and @roleType (not this.statementFields))}}

Statements

{{#unless this.statementFields}} {{else}}
{{#each this.statementFields as |attr|}} {{form-field data-test-field attr=attr model=@model}} {{/each}}
{{/unless}}
{{/unless}}