diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-25 17:31:11 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | bcd9f81eff05ffd930c5d8175fb907d4d371432a (patch) | |
tree | 071c9bff7135ae968f329623b77a4835e1afcb59 /client/src/app/videos/+video-edit/video-add.component.html | |
parent | d412e80e5f748f92118541a5334c14ebd4a90881 (diff) | |
download | PeerTube-bcd9f81eff05ffd930c5d8175fb907d4d371432a.tar.gz PeerTube-bcd9f81eff05ffd930c5d8175fb907d4d371432a.tar.zst PeerTube-bcd9f81eff05ffd930c5d8175fb907d4d371432a.zip |
Add channels to upload form
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 | 12 |
1 files changed, 12 insertions, 0 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 698152ff9..7946c0879 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -26,6 +26,18 @@ | |||
26 | </div> | 26 | </div> |
27 | 27 | ||
28 | <div class="form-group"> | 28 | <div class="form-group"> |
29 | <label for="category">Channel</label> | ||
30 | <select class="form-control" id="channelId" formControlName="channelId"> | ||
31 | <option></option> | ||
32 | <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option> | ||
33 | </select> | ||
34 | |||
35 | <div *ngIf="formErrors.channelId" class="alert alert-danger"> | ||
36 | {{ formErrors.channelId }} | ||
37 | </div> | ||
38 | </div> | ||
39 | |||
40 | <div class="form-group"> | ||
29 | <label for="category">Category</label> | 41 | <label for="category">Category</label> |
30 | <select class="form-control" id="category" formControlName="category"> | 42 | <select class="form-control" id="category" formControlName="category"> |
31 | <option></option> | 43 | <option></option> |