Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

541 B
Raw Blame
<ng-container *transloco="let t; read:'role-selector'">
  <h4>{{t('title')}}</h4>
  <ul class="list-group">
    <li class="list-group-item" *ngFor="let role of selectedRoles; let i = index">
      <div class="form-check">
        <input id="role-{{i}}" type="checkbox" class="form-check-input"
               [(ngModel)]="role.selected" [disabled]="role.disabled" name="role" (ngModelChange)="handleModelUpdate()">
        <label for="role-{{i}}" class="form-check-label">{{role.data}}</label>
      </div>
    </li>
  </ul>
</ng-container>