]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/forms/peertube-checkbox.component.html
Fix OnInit for subscribe button
[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>
2dbbf860 6 <span *ngIf="!labelText && labelInnerHTML" [innerHTML]="labelInnerHTML"></span>
421d935d
C
7
8 <span *ngIf="labelTemplate">
9 <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
10 </span>
0f7fedc3
C
11 </label>
12
421d935d
C
13 <my-help *ngIf="helpTemplate" [tooltipPlacement]="helpPlacement" helpType="custom">
14 <ng-template ptTemplate="customHtml">
15 <ng-template *ngTemplateOutlet="helpTemplate"></ng-template>
16 </ng-template>
17 </my-help>
14e2014a 18</div>