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">
6 I am at least {{ minimumAge }} 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>
12 </my-peertube-checkbox>
14 <div *
ngIf=
"formErrors.terms" class=
"form-error">
15 {{ formErrors.terms }}