fix inherited permissions not visually showing as checked

This commit is contained in:
Michael Shamoon
2022-12-12 15:43:27 -08:00
parent bda44bf83d
commit 9f93720f6f
3 changed files with 8 additions and 3 deletions

View File

@@ -18,7 +18,7 @@
</div>
<div class="form-check form-switch form-check-inline">
<input type="checkbox" class="form-check-input" id="is_superuser" formControlName="is_superuser" (change)="onToggleSuperUser()">
<label class="form-check-label" for="is_superuser"><ng-container i18n>Superuser</ng-container> <small class="form-text text-muted ms-1" i18n>(Grants all permissions)</small></label>
<label class="form-check-label" for="is_superuser"><ng-container i18n>Superuser</ng-container> <small class="form-text text-muted ms-1" i18n>(Grants all permissions and objects)</small></label>
</div>
</div>