diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.html | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.html b/client/src/app/videos/+video-edit/video-add.component.html index a6f2bf6f2..20277423c 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -14,16 +14,22 @@ | |||
14 | <input #videofileInput type="file" name="videofile" id="videofile" (change)="fileChange()" /> | 14 | <input #videofileInput type="file" name="videofile" id="videofile" (change)="fileChange()" /> |
15 | </div> | 15 | </div> |
16 | 16 | ||
17 | <div class="form-group"> | 17 | <div class="form-group form-group-channel"> |
18 | <select [(ngModel)]="firstStepPrivacyId"> | 18 | <label for="first-step-channel">Channel</label> |
19 | <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option> | 19 | <div class="peertube-select-container"> |
20 | </select> | 20 | <select id="first-step-channel" [(ngModel)]="firstStepChannelId"> |
21 | <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> | ||
22 | </select> | ||
23 | </div> | ||
21 | </div> | 24 | </div> |
22 | 25 | ||
23 | <div class="form-group"> | 26 | <div class="form-group"> |
24 | <select [(ngModel)]="firstStepChannelId"> | 27 | <label for="first-step-privacy">Privacy</label> |
25 | <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> | 28 | <div class="peertube-select-container"> |
26 | </select> | 29 | <select id="first-step-privacy" [(ngModel)]="firstStepPrivacyId"> |
30 | <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option> | ||
31 | </select> | ||
32 | </div> | ||
27 | </div> | 33 | </div> |
28 | </div> | 34 | </div> |
29 | </div> | 35 | </div> |
@@ -37,7 +43,7 @@ | |||
37 | <form [hidden]="!isUploadingVideo" novalidate [formGroup]="form"> | 43 | <form [hidden]="!isUploadingVideo" novalidate [formGroup]="form"> |
38 | <my-video-edit | 44 | <my-video-edit |
39 | [form]="form" [formErrors]="formErrors" | 45 | [form]="form" [formErrors]="formErrors" |
40 | [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" | 46 | [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" [userVideoChannels]="userVideoChannels" |
41 | ></my-video-edit> | 47 | ></my-video-edit> |
42 | 48 | ||
43 | 49 | ||