diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-11-25 11:19:45 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@framasoft.org> | 2019-11-25 11:19:45 +0100 |
commit | 2dbbf86086bd6bc29343e6c4fbd0d664ec877ac7 (patch) | |
tree | 1a495031f008565b6fa5e13a5676841b0fc3b8c9 /client/src/app/shared/forms/peertube-checkbox.component.html | |
parent | f92bb405d48af737636fec1025e19f27d7044158 (diff) | |
download | PeerTube-2dbbf86086bd6bc29343e6c4fbd0d664ec877ac7.tar.gz PeerTube-2dbbf86086bd6bc29343e6c4fbd0d664ec877ac7.tar.zst PeerTube-2dbbf86086bd6bc29343e6c4fbd0d664ec877ac7.zip |
(plugins) adding checkbox and textarea as possible input types, add links in form label
Diffstat (limited to 'client/src/app/shared/forms/peertube-checkbox.component.html')
-rw-r--r-- | client/src/app/shared/forms/peertube-checkbox.component.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/forms/peertube-checkbox.component.html b/client/src/app/shared/forms/peertube-checkbox.component.html index f1e3bf0bf..1c0114d97 100644 --- a/client/src/app/shared/forms/peertube-checkbox.component.html +++ b/client/src/app/shared/forms/peertube-checkbox.component.html | |||
@@ -3,6 +3,7 @@ | |||
3 | <input type="checkbox" [(ngModel)]="checked" (ngModelChange)="onModelChange()" [id]="inputName" [disabled]="disabled" /> | 3 | <input type="checkbox" [(ngModel)]="checked" (ngModelChange)="onModelChange()" [id]="inputName" [disabled]="disabled" /> |
4 | <span role="checkbox" [attr.aria-checked]="checked"></span> | 4 | <span role="checkbox" [attr.aria-checked]="checked"></span> |
5 | <span *ngIf="labelText">{{ labelText }}</span> | 5 | <span *ngIf="labelText">{{ labelText }}</span> |
6 | <span *ngIf="!labelText && labelInnerHTML" [innerHTML]="labelInnerHTML"></span> | ||
6 | 7 | ||
7 | <span *ngIf="labelTemplate"> | 8 | <span *ngIf="labelTemplate"> |
8 | <ng-container *ngTemplateOutlet="labelTemplate"></ng-container> | 9 | <ng-container *ngTemplateOutlet="labelTemplate"></ng-container> |