]>
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 | 10 | <label i18n for="channel">Select a channel to receive the video</label> |
dc2b2938 C |
11 | <my-select-channel labelForId="channel" formControlName="channel" [items]="videoChannels"></my-select-channel> |
12 | ||
4c9e9d2e | 13 | <div *ngIf="formErrors.channel" class="form-error">{{ formErrors.channel }}</div> |
74d63469 GR |
14 | </div> |
15 | </div> | |
16 | ||
17 | <div class="modal-footer inputs"> | |
4c9e9d2e | 18 | <div class="inputs"> |
a6d5ff76 | 19 | <input |
266947e5 | 20 | type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button" |
a6d5ff76 RK |
21 | (click)="dismiss()" (key.enter)="dismiss()" |
22 | > | |
74d63469 GR |
23 | |
24 | <input | |
266947e5 C |
25 | type="submit" i18n-value value="Accept" class="peertube-button orange-button" |
26 | (click)="close()" | |
74d63469 GR |
27 | > |
28 | </div> | |
29 | </div> | |
30 | </ng-template> |