]>
Commit | Line | Data |
---|---|---|
40360c17 K |
1 | <form role="form" [formGroup]="form"> |
2 | <div class="form-group form-group-terms"> | |
3 | <my-peertube-checkbox inputName="terms" formControlName="terms"> | |
4 | <ng-template ptTemplate="label"> | |
5 | <ng-container i18n> | |
6 | I am at least 16 years old and agree | |
7 | to the <a class="terms-anchor" (click)="onTermsClick($event)" href='#'>Terms</a> | |
8 | <ng-container *ngIf="hasCodeOfConduct"> and to the <a (click)="onCodeOfConductClick($event)" href='#'>Code of Conduct</a></ng-container> | |
9 | of this instance | |
10 | </ng-container> | |
11 | </ng-template> | |
12 | </my-peertube-checkbox> | |
13 | ||
14 | <div *ngIf="formErrors.terms" class="form-error"> | |
15 | {{ formErrors.terms }} | |
16 | </div> | |
17 | </div> | |
18 | </form> |