diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-07 14:57:05 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-07 14:57:05 +0200 |
commit | db216afd980846c418a4ebab8190c3ead561dfc1 (patch) | |
tree | 4542ab1e5c9b4d750f5877e22b1de627892564d2 /client/src/app/videos/video-add/video-add.component.html | |
parent | 3092476e64d09b449b4ad4f5198024afec1b22ca (diff) | |
download | PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.tar.gz PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.tar.zst PeerTube-db216afd980846c418a4ebab8190c3ead561dfc1.zip |
Client: support video language
Diffstat (limited to 'client/src/app/videos/video-add/video-add.component.html')
-rw-r--r-- | client/src/app/videos/video-add/video-add.component.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/app/videos/video-add/video-add.component.html b/client/src/app/videos/video-add/video-add.component.html index a3c25c14b..104747a8c 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html | |||
@@ -47,6 +47,18 @@ | |||
47 | </div> | 47 | </div> |
48 | 48 | ||
49 | <div class="form-group"> | 49 | <div class="form-group"> |
50 | <label for="language">Language</label> | ||
51 | <select class="form-control" id="language" formControlName="language"> | ||
52 | <option></option> | ||
53 | <option *ngFor="let language of videoLanguages" [value]="language.id">{{ language.label }}</option> | ||
54 | </select> | ||
55 | |||
56 | <div *ngIf="formErrors.language" class="alert alert-danger"> | ||
57 | {{ formErrors.language }} | ||
58 | </div> | ||
59 | </div> | ||
60 | |||
61 | <div class="form-group"> | ||
50 | <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> | 62 | <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> |
51 | <input | 63 | <input |
52 | type="text" class="form-control" id="currentTag" | 64 | type="text" class="form-control" id="currentTag" |