]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.component.html
Add other video description tests
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.html
index 698152ff9ee9da3382175bc7950f43135a4a69d2..3bf4101f4afd763bbfd172d36a9ccf56d7c447f5 100644 (file)
       </div>
 
       <div class="form-group">
-        <label for="nsfw">NSFW</label>
         <input
           type="checkbox" id="nsfw"
           formControlName="nsfw"
         >
+        <label for="nsfw">This video contains mature or explicit content</label>
+      </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">
@@ -65,7 +77,7 @@
         <label class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span>
         <tag-input
           [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
-          formControlName="tags" maxItems="3" modelAsStrings="true"
+          formControlName="tags" maxItems="5" modelAsStrings="true"
         ></tag-input>
       </div>