]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-add/video-add.component.html
Client: support video language
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-add / video-add.component.html
index a3c25c14b1b2c43c18304cbc144082f10f04ca13..104747a8ca3acdc245351e3514c7fcdf0e3970d7 100644 (file)
     </div>
   </div>
 
+  <div class="form-group">
+    <label for="language">Language</label>
+    <select class="form-control" id="language" formControlName="language">
+      <option></option>
+      <option *ngFor="let language of videoLanguages" [value]="language.id">{{ language.label }}</option>
+    </select>
+
+    <div *ngIf="formErrors.language" class="alert alert-danger">
+      {{ formErrors.language }}
+    </div>
+  </div>
+
   <div class="form-group">
     <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span>
     <input