1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add "agree to the terms" checkbox in registration form

This commit is contained in:
Chocobozzz 2018-07-25 11:01:53 +02:00
parent b2c60abe6e
commit b4a929accf
No known key found for this signature in database
GPG key ID: 583A612D890159BE
9 changed files with 31 additions and 6 deletions

View 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>