]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/forms/peertube-checkbox.component.html
add theming via css custom properties
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / forms / peertube-checkbox.component.html
index 820e7a6212e98882a20d69b0d26ba1ad62c900f4..38691f05045efe0074da56cc81ceb6e527509cde 100644 (file)
@@ -3,6 +3,7 @@
     <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>