]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/forms/peertube-checkbox.component.html
Fix register checkbox
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / peertube-checkbox.component.html
CommitLineData
017c3dca 1<div class="root">
0f7fedc3 2 <label class="form-group-checkbox">
14e2014a 3 <input type="checkbox" [(ngModel)]="checked" (ngModelChange)="onModelChange()" [id]="inputName" [disabled]="disabled" />
0f7fedc3
C
4 <span role="checkbox" [attr.aria-checked]="checked"></span>
5 <span *ngIf="labelText">{{ labelText }}</span>
421d935d
C
6
7 <span *ngIf="labelTemplate">
8 <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
9 </span>
0f7fedc3
C
10 </label>
11
421d935d
C
12 <my-help *ngIf="helpTemplate" [tooltipPlacement]="helpPlacement" helpType="custom">
13 <ng-template ptTemplate="customHtml">
14 <ng-template *ngTemplateOutlet="helpTemplate"></ng-template>
15 </ng-template>
16 </my-help>
14e2014a 17</div>