]>
Commit | Line | Data |
---|---|---|
74d63469 GR |
1 | <ng-template #modal let-close="close" let-dismiss="dismiss"> |
2 | <div class="modal-header"> | |
c9e3565d | 3 | <h1 i18n class="modal-title">Accept ownership</h1> |
457bb213 C |
4 | |
5 | <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon> | |
74d63469 GR |
6 | </div> |
7 | ||
8 | <div class="modal-body" [formGroup]="form"> | |
9 | <div class="form-group"> | |
4c9e9d2e RK |
10 | <label i18n for="channel">Select a channel to receive the video</label> |
11 | <div class="peertube-select-container"> | |
12 | <select formControlName="channel" id="channel" class="form-control"> | |
13 | <option i18n value="undefined" disabled>Channel that will receive the video</option> | |
14 | <option *ngFor="let channel of videoChannels" [value]="channel.id">{{ channel.displayName }} | |
15 | </option> | |
16 | </select> | |
74d63469 | 17 | </div> |
4c9e9d2e | 18 | <div *ngIf="formErrors.channel" class="form-error">{{ formErrors.channel }}</div> |
74d63469 GR |
19 | </div> |
20 | </div> | |
21 | ||
22 | <div class="modal-footer inputs"> | |
4c9e9d2e | 23 | <div class="inputs"> |
a6d5ff76 | 24 | <input |
266947e5 | 25 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" |
a6d5ff76 RK |
26 | (click)="dismiss()" (key.enter)="dismiss()" |
27 | > | |
74d63469 GR |
28 | |
29 | <input | |
266947e5 C |
30 | type="submit" i18n-value value="Accept" class="peertube-button orange-button" |
31 | (click)="close()" | |
74d63469 GR |
32 | > |
33 | </div> | |
34 | </div> | |
35 | </ng-template> |