1 <form role=
"form" [formGroup]=
"form">
3 <div *
ngIf=
"requiresApproval" class=
"form-group">
4 <label i18n
for=
"registrationReason">Why do you want to join {{ instanceName }}?
</label>
7 id=
"registrationReason" formControlName=
"registrationReason" class=
"form-control" rows=
"4"
8 [ngClass]=
"{ 'input-error': formErrors['registrationReason'] }"
11 <div *
ngIf=
"formErrors.registrationReason" class=
"form-error">{{ formErrors.registrationReason }}
</div>
14 <div class=
"form-group">
15 <my-peertube-checkbox inputName=
"terms" formControlName=
"terms">
16 <ng-template ptTemplate=
"label">
18 I am at least {{ minimumAge }} years old and agree
19 to the
<a class=
"link-orange" (click)=
"onTermsClick($event)" href='#'
>Terms
</a>
20 <ng-container *
ngIf=
"hasCodeOfConduct"> and to the
<a class=
"link-orange" (click)=
"onCodeOfConductClick($event)" href='#'
>Code of Conduct
</a></ng-container>
24 </my-peertube-checkbox>
26 <div *
ngIf=
"formErrors.terms" class=
"form-error">{{ formErrors.terms }}
</div>