]>
Commit | Line | Data |
---|---|---|
1 | <ng-template #modal let-close="close" let-dismiss="dismiss"> | |
2 | <div class="modal-header"> | |
3 | <h1 i18n class="modal-title">Accept ownership</h1> | |
4 | ||
5 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon> | |
6 | </div> | |
7 | ||
8 | <div class="modal-body" [formGroup]="form"> | |
9 | <div class="form-group"> | |
10 | <label i18n for="channel">Select a channel to receive the video</label> | |
11 | <my-select-channel labelForId="channel" formControlName="channel" [items]="videoChannels"></my-select-channel> | |
12 | ||
13 | <div *ngIf="formErrors.channel" class="form-error">{{ formErrors.channel }}</div> | |
14 | </div> | |
15 | </div> | |
16 | ||
17 | <div class="modal-footer inputs"> | |
18 | <div class="inputs"> | |
19 | <input | |
20 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" | |
21 | (click)="dismiss()" (key.enter)="dismiss()" | |
22 | > | |
23 | ||
24 | <input | |
25 | type="submit" i18n-value value="Accept" class="peertube-button orange-button" | |
26 | (click)="close()" | |
27 | > | |
28 | </div> | |
29 | </div> | |
30 | </ng-template> |