aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/forms/peertube-checkbox.component.html
blob: 7b8bcf60170b3e529ad37a0cfbd91e6a754af51f (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
                                     
                                                                                                                            

                                                               
                                                           


                                                                                                                       
      
<div class="root">
  <label class="form-group-checkbox">
    <input type="checkbox" [(ngModel)]="checked" (ngModelChange)="onModelChange()" [id]="inputName" [disabled]="disabled" />
    <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>