aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms/peertube-checkbox.component.html
blob: 38691f05045efe0074da56cc81ceb6e527509cde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<div class="form-group">
  <label class="form-group-checkbox">
    <input type="checkbox" [(ngModel)]="checked" (ngModelChange)="onModelChange()" [id]="inputName" [disabled]="isDisabled" />
    <span role="checkbox" [attr.aria-checked]="checked"></span>
    <span *ngIf="labelText">{{ labelText }}</span>
    <span *ngIf="labelHtml" [innerHTML]="labelHtml"></span>
  </label>

  <my-help *ngIf="helpHtml" tooltipPlacement="top" helpType="custom" i18n-customHtml [customHtml]="helpHtml"></my-help>
</div>