{#each roles as r, i (r.key)}
{r.name ?? r.key}
{r.key}
{may(r.key).length ? m.roles_editor_can() : m.roles_editor_nothing_more()}
{#if may(r.key).length}
{#each may(r.key) as a (a)}
{/each}
{/if}
{#if yours(r.key)}
{#snippet intro()}{m.roles_editor_change_intro({ role: r.name ?? r.key })}{/snippet}
{m.roles_editor_name()}
{m.common_optional()}
a.role)} isDefault={r.default} {roles} {grantable} {mine} />
{#if r.key !== 'member'}
{m.roles_editor_delete_body()}
{/if} {/if}
{/each}
{#snippet intro()}{m.roles_editor_create_intro()}{/snippet}
{m.roles_editor_key()}
{m.roles_editor_name()}
{m.common_optional()}
{m.roles_editor_key_hint()}