674a4e8a27faeaf78782f2ebcbc30d59c9ddc280
[oweals/peertube.git] /
1 <ng-template #modal let-close="close" let-dismiss="dismiss">
2   <div class="modal-header">
3     <h4 i18n class="modal-title">Accept ownership</h4>
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 the target channel</label>
11       <select formControlName="channel" id="channel" class="peertube-select-container">
12         <option></option>
13         <option *ngFor="let channel of videoChannels" [value]="channel.id">{{ channel.displayName }}
14         </option>
15       </select>
16       <div *ngIf="formErrors.channel" class="form-error">
17         {{ formErrors.channel }}
18       </div>
19     </div>
20   </div>
21
22   <div class="modal-footer inputs">
23     <div class="form-group inputs">
24       <span i18n class="action-button action-button-cancel" (click)="dismiss()">
25         Cancel
26       </span>
27
28       <input
29           type="submit" i18n-value value="Submit" class="action-button-submit"
30           [disabled]="!form.valid"
31           (click)="close()"
32       >
33     </div>
34   </div>
35 </ng-template>