]>
Commit | Line | Data |
---|---|---|
d9eaee39 | 1 | <div class="margin-content"> |
c4a05171 | 2 | <h1 i18n class="title-page">Request email for account verification</h1> |
d9eaee39 JM |
3 | |
4 | <form *ngIf="requiresEmailVerification; else emailVerificationNotRequired" role="form" (ngSubmit)="askSendVerifyEmail()" [formGroup]="form"> | |
5 | <div class="form-group"> | |
6 | <label i18n for="verify-email-email">Email</label> | |
c4a05171 | 7 | |
d9eaee39 JM |
8 | <input |
9 | type="email" id="verify-email-email" i18n-placeholder placeholder="Email address" required | |
a6d5ff76 | 10 | formControlName="verify-email-email" class="form-control" [ngClass]="{ 'input-error': formErrors['verify-email-email'] }" |
d9eaee39 | 11 | > |
c4a05171 C |
12 | |
13 | <div *ngIf="formErrors['verify-email-email']" class="form-error">{{ formErrors['verify-email-email'] }}</div> | |
d9eaee39 | 14 | </div> |
c4a05171 C |
15 | |
16 | <input class="peertube-button orange-button" type="submit" i18n-value value="Send verification email" [disabled]="!form.valid"> | |
d9eaee39 | 17 | </form> |
c4a05171 | 18 | |
d9eaee39 JM |
19 | <ng-template #emailVerificationNotRequired> |
20 | <div i18n>This instance does not require email verification.</div> | |
21 | </ng-template> | |
22 | </div> |