</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">
<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>