]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.component.html
Add channels to upload form
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.html
index 698152ff9ee9da3382175bc7950f43135a4a69d2..7946c0879d7294887809921729b1e4b8b535cacb 100644 (file)
         >
       </div>
 
+      <div class="form-group">
+        <label for="category">Channel</label>
+        <select class="form-control" id="channelId" formControlName="channelId">
+          <option></option>
+          <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option>
+        </select>
+
+        <div *ngIf="formErrors.channelId" class="alert alert-danger">
+          {{ formErrors.channelId }}
+        </div>
+      </div>
+
       <div class="form-group">
         <label for="category">Category</label>
         <select class="form-control" id="category" formControlName="category">