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